API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceAssetVariant

@codexo/exojs / assets / stable

One candidate representation of a logical asset source. A candidate is eligible when every condition it states holds for the current AssetVariantProfile. A candidate that states none is the unconditional fallback and is always eligible - declare one, or a device that matches nothing falls back to the logical source itself.

3
props
0
methods
0
events
Import
import { AssetVariant } from '@codexo/exojs'

One candidate representation of a logical asset source.

A candidate is eligible when every condition it states holds for the current AssetVariantProfile. A candidate that states none is the unconditional fallback and is always eligible - declare one, or a device that matches nothing falls back to the logical source itself.

Properties3
resolution?: number
Eligible only when the profile renders at this density or higher.
source: string
Source to load when this candidate wins. Resolved against the loader base path like any other.
Source