LogoPixi’VN
pixi-jsType aliases

Type Alias: AssetParser

> AssetParser = "json" | "svg" | "text" | "video" | "web-font" | "bitmap-font" | "spritesheet" | "texture" | "basis" | "dds" | "ktx2" | "ktx" | string & object

Defined in: node_modules/pixi.js/lib/assets/types.d.ts:25

Names of the parsers that are built into PixiJS.

Example

Assets.load({
    src: assetToLoad,
    parser: 'json' // Use the built-in JSON parser
});

Advanced