Const
The default TextureLoaderOptions.maximumDecodedBytes: 64 MiB (§96).
A 4096 × 4096 RGBA8 image is 67 108 864 bytes — exactly this — so the default admits every texture size the WebGL 2 tier realistically uploads and refuses the 8K one that would quadruple it.
The default TextureLoaderOptions.maximumDecodedBytes: 64 MiB (§96).
A 4096 × 4096 RGBA8 image is 67 108 864 bytes — exactly this — so the default admits every texture size the WebGL 2 tier realistically uploads and refuses the 8K one that would quadruple it.