@lightningjs/renderer
Version:
Lightning 3 Renderer
17 lines (16 loc) • 541 B
TypeScript
import { type TextureData } from '../textures/Texture.js';
/**
* Tests if the given location is a compressed texture container
* @param url
* @remarks
* This function is used to determine if the given image url is a compressed
* and only supports the following extensions: .ktx and .pvr
* @returns
*/
export declare function isCompressedTextureContainer(url: string): boolean;
/**
* Loads a compressed texture container
* @param url
* @returns
*/
export declare const loadCompressedTexture: (url: string) => Promise<TextureData>;