Skip to main content

Interface: TextureSize

Configuration for texture resolution across different devices and contexts. Controls texture quality to balance visual fidelity against performance, with different settings for various use cases and device capabilities.

Properties

aoMaps

aoMaps: string | number

Resolution for ambient occlusion maps that create depth


ar

ar: string | number

Optimized resolution for AR (augmented reality) experiences


desktop

desktop: string | number

Resolution for desktop devices with higher performance capabilities


mobile

mobile: string | number

Lower resolution for mobile devices with limited resources


mode

mode: string

The type of texture this configuration applies to


shadows

shadows: string | number

Resolution for shadow textures that affect performance