UNPKG

@loaders.gl/textures

Version:

Framework-independent loaders for compressed and super compressed (basis) textures

14 lines 687 B
import type { TextureFormat } from '@loaders.gl/schema'; /** * @deprecated Pass `basis.supportedTextureFormats` to Basis loaders instead of relying on global detection. */ export declare function detectSupportedTextureFormats(gl?: WebGLRenderingContext): Set<TextureFormat>; /** * Returns a list of formats. * Creates a temporary WebGLRenderingContext if none is provided. * * @deprecated Pass `basis.supportedTextureFormats` to Basis loaders instead of relying on global detection. * @param gl - Optional context. */ export declare function detectSupportedGPUTextureFormats(gl?: WebGLRenderingContext): Set<string>; //# sourceMappingURL=detect-supported-texture-formats.d.ts.map