UNPKG

pixi-basis-ktx2

Version:

Loader for the *.basis & *.ktx2 supercompressed texture file format. This package also ships with the transcoder!

7 lines 535 B
import type { Loader, LoaderParser } from '@pixi/assets'; import type { IBaseTextureOptions, Texture } from '@pixi/core'; /** Load BASIS textures! */ export declare const loadBasis: LoaderParser<Texture | Texture[], IBaseTextureOptions>; export declare function loadBasisBufferToTexture(byteArr: Uint8Array, fileName: string, loader: Loader): Promise<Texture | undefined>; export declare function loadBasisBufferToArray(byteArr: Uint8Array, fileName: string, loader: Loader): Promise<Texture[]>; //# sourceMappingURL=loadBasis.d.ts.map