Files
nothoughts/node_modules/pixi.js/lib/rendering/batcher/gl/utils/maxRecommendedTextures.d.ts
2025-08-04 18:57:35 +02:00

9 lines
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;