pixi.js
Version:
<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">
13 lines (12 loc) • 481 B
TypeScript
import { TextureSource } from './TextureSource';
import type { TextureSourceOptions } from './TextureSource';
/**
* A texture source that uses a compressed resource, such as an array of Uint8Arrays.
* It is used for compressed textures that can be uploaded to the GPU.
* @category rendering
* @advanced
*/
export declare class CompressedSource extends TextureSource<Uint8Array[]> {
readonly uploadMethodId = "compressed";
constructor(options: TextureSourceOptions);
}