LogoPixi’VN
pixi-jsClasses

Class: BatchTextureArray

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/BatchTextureArray.d.ts:7

Used by the batcher to build texture batches. Holds list of textures and their respective locations.

Advanced

Constructors

Constructor

> new BatchTextureArray(): BatchTextureArray

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/BatchTextureArray.d.ts:14

Returns

BatchTextureArray

Properties

count

> count: number

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/BatchTextureArray.d.ts:13

Number of filled elements.


ids

> ids: Record<number, number>

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/BatchTextureArray.d.ts:11

Respective locations for textures.


textures

> textures: TextureSource<any>[]

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/BatchTextureArray.d.ts:9

Inside textures array.

Methods

clear()

> clear(): void

Defined in: node_modules/pixi.js/lib/rendering/batcher/shared/BatchTextureArray.d.ts:16

Clear the textures and their locations.

Returns

void