pixi.js
Version:
<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">
18 lines (17 loc) • 572 B
TypeScript
import type { TextureSource } from '../../renderers/shared/texture/sources/TextureSource';
/**
* Used by the batcher to build texture batches. Holds list of textures and their respective locations.
* @category rendering
* @advanced
*/
export declare class BatchTextureArray {
/** Inside textures array. */
textures: TextureSource[];
/** Respective locations for textures. */
ids: Record<number, number>;
/** Number of filled elements. */
count: number;
constructor();
/** Clear the textures and their locations. */
clear(): void;
}