Advanced
Optional
dataOptional data passed to the asset loader. Can include texture settings, parser options, or other asset-specific data.
Optional
formatFile format of the asset, usually the file extension. Used to determine which loader parser to use.
Optional
loadOverride to specify which parser should load this asset. Useful when file extensions don't match the content type.
Optional
srcThe URL or relative path to the asset. This is the final, resolved path that will be used for loading.
A fully resolved src specification after pattern resolution and format detection. Unlike raw asset sources, this type represents the final, concrete source path and format.
Example
Remarks
{png,webp}
are resolved to specific formatsSee