The geometry used by this batcher. Must be implemented by subclasses.
The name of the batcher. Must be implemented by subclasses.
The shader used by this batcher. Must be implemented by subclasses. this can be shared by multiple batchers of the same type.
The vertex size of the batcher. Must be implemented by subclasses.
Destroys the batch and its resources.
Packs the attributes of a BatchableMeshElement into the provided views. Must be implemented by subclasses.
The BatchableMeshElement to pack.
The Float32Array view to pack into.
The Uint32Array view to pack into.
The starting index in the views.
The texture ID to use.
Packs the attributes of a BatchableQuadElement into the provided views. Must be implemented by subclasses.
The BatchableQuadElement to pack.
The Float32Array view to pack into.
The Uint32Array view to pack into.
The starting index in the views.
The texture ID to use.
The Pixi batcher extension
TintedSprite(and everything built on it) renders through - see the module doc comment above for what it adds and why.Example