API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeAssetConstructor
Any abstract or concrete constructor whose instances are the resource an asset type produces (e.g. `typeof Texture`, `typeof Sound`). Constructors act as the dispatch token of a constructor-bound asset binding: they identify the type a request is routed to and take part in its resource identity. A first-class AssetType carries its own stable string identity instead and needs no constructor of its own.
import { AssetConstructor } from '@codexo/exojs'Any abstract or concrete constructor whose instances are the resource an asset type produces (e.g. `typeof Texture`, `typeof Sound`).
Constructors act as the dispatch token of a constructor-bound asset binding: they identify the type a request is routed to and take part in its resource identity. A first-class AssetType carries its own stable string identity instead and needs no constructor of its own.
(args: any[]) => T