Interface: BatchableElement

BatchableElement

Represents an element that can be batched for rendering.

Properties:
Name Type Description
attributeSize number

The size of the attribute data.

batcherName string

The name of the batcher to use. Must be registered.

blendMode BLEND_MODES

The blend mode to be applied.

indexSize number

The size of the index data.

packAsQuad boolean

Whether the element should be packed as a quad for better performance.

texture Texture

The texture to be used for rendering.

topology Topology

The topology to be used for rendering.

_attributeStart number

The starting position in the attribute buffer.

_batch Batch

Reference to the batch.

_batcher Batcher

Reference to the batcher.

_indexStart number

The starting position in the index buffer.

_textureId number

The texture ID, stored for efficient updating.

Members

attributeSize number

The size of the attribute data.

batcherName string

The name of the batcher to use. Must be registered.

blendMode BLEND_MODES

The blend mode to be applied.

indexSize number

The size of the index data.

packAsQuad boolean

Whether the element should be packed as a quad for better performance.

texture Texture

The texture to be used for rendering.

topology Topology

The topology to be used for rendering.