UNPKG

pixi-basis-ktx2

Version:

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

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