API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceAssetVariantProfile
What the running device can accept, as variant rules see it. Filled from the live render backend once it is up - `textureFormats` is RenderBackend.supportedTextureFormats and `resolution` is its `rootResolution`. Before that it is the conservative empty profile, so a load started before the backend exists picks the unconditional fallback rather than a format nothing has confirmed.
import { AssetVariantProfile } from '@codexo/exojs'What the running device can accept, as variant rules see it.
Filled from the live render backend once it is up - `textureFormats` is RenderBackend.supportedTextureFormats and `resolution` is its `rootResolution`. Before that it is the conservative empty profile, so a load started before the backend exists picks the unconditional fallback rather than a format nothing has confirmed.
resolution: number