1681-engine / index / atlasPageLimit
Function: atlasPageLimit() ​
ts
function atlasPageLimit(maxTextureSize): number;Defined in: src/core/atlasPlan.ts:17
How big an atlas page may be on this device: 8192 wherever the GPU takes it (every desktop — unchanged), else split at 4096, or at the largest power of two the GPU does take if that is smaller still. Unknown: 8192, as before.
Parameters ​
| Parameter | Type |
|---|---|
maxTextureSize | number | null |
Returns ​
number