API reference

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

T

typeAssetConstructor

@codexo/exojs / assets / stable

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.

0
props
0
methods
0
events
Import
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.

Definition1
(args: any[]) => T
Source