pixi.js
Version:
PixiJS — The HTML5 Creation Engine =============
9 lines (8 loc) • 422 B
TypeScript
/**
* Returns the maximum number of textures that can be batched. This uses WebGL1's `MAX_TEXTURE_IMAGE_UNITS`.
* The response for this is that to get this info via WebGPU, we would need to make a context, which
* would make this function async, and we want to avoid that.
* @private
* @returns {number} The maximum number of textures that can be batched
*/
export declare function getMaxTexturesPerBatch(): number;