Class: RenderableBatchComponent
Defined in: rendering/components/sprite-batch-component.ts:14
The RenderableBatchComponent class implements the Component interface and represents
a component that contains a items that can be batched for rendering.
Implements
Constructors
Constructor
new RenderableBatchComponent(
renderLayer):RenderableBatchComponent
Defined in: rendering/components/sprite-batch-component.ts:30
Constructs a new instance of the RenderableBatchComponent class.
Parameters
renderLayer
Returns
RenderableBatchComponent
Properties
batches
batches:
Map<Renderable,Batch>
Defined in: rendering/components/sprite-batch-component.ts:19
The map of batched entities.
name
name:
symbol
Defined in: rendering/components/sprite-batch-component.ts:16
The name property holds the unique symbol for this component.
Implementation of
renderLayer
readonlyrenderLayer:RenderLayer
Defined in: rendering/components/sprite-batch-component.ts:22
The render layer to which the batch belongs.
symbol
readonlystaticsymbol: typeofsymbol
Defined in: rendering/components/sprite-batch-component.ts:25
A static symbol property that uniquely identifies the RenderableBatchComponent.