MCPcopy
hub / github.com/pixijs/pixijs / AssetExtensionAdvanced

Interface AssetExtensionAdvanced

src/assets/AssetExtension.ts:13–31  ·  view source on GitHub ↗

* A more verbose version of the AssetExtension, * allowing you to set the cached, loaded, parsed, and unloaded asset separately * @category assets * @advanced

Source from the content-addressed store, hash-verified

11 * @advanced
12 */
13interface AssetExtensionAdvanced<
14 ASSET = any,
15 PARSED_ASSET = ASSET,
16 UNLOAD_ASSET = ASSET,
17 CACHE_ASSET = ASSET,
18 META_DATA = any
19>
20{
21 /** The type of extension */
22 extension: ExtensionType.Asset,
23 /** the asset loader */
24 loader?: LoaderParserAdvanced<ASSET, PARSED_ASSET, UNLOAD_ASSET, META_DATA>,
25 /** the asset resolve parser */
26 resolver?: Partial<ResolveURLParser>,
27 /** the asset cache parser */
28 cache?: Partial<CacheParser<CACHE_ASSET>>,
29 /** the asset format detection parser */
30 detection?: Partial<FormatDetectionParser>,
31}
32
33/**
34 * This developer convenience object allows developers to group

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected