Class: StdBatch

.brend~StdBatch

Resources that need to be uploaded to WebGL to render one batch.

To customize batches, you must create your own batch factory by extending the PIXI.brend.StdBatchFactory class.

Members

geometryOffset number

Index of the first vertex of this batch's geometry in the uploaded geometry.

state PIXI.State

State required to render this batch.

textureBuffer Array.<PIXI.Texture>

Textures that are used by the display-object's in this batch.

uidMap Map.<number, number>

Map of base-texture UIDs to texture indices into uSamplers.

Methods

Reset this batch to become "fresh"!

upload (renderer)

Uploads the resources required before rendering this batch. If you override this, you must call super.upload.

Name Type Description
renderer PIXI.Renderer