UNPKG

@loaders.gl/textures

Version:

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

25 lines 1 kB
import type { StrictLoaderOptions } from '@loaders.gl/loader-utils'; import type { Texture } from '@loaders.gl/schema'; import type { RadianceHDRMetadata } from "./lib/parsers/parse-hdr.js"; import { isHDR, parseHDR } from "./lib/parsers/parse-hdr.js"; export type RadianceHDRLoaderOptions = StrictLoaderOptions & { hdr?: {}; }; export declare const RadianceHDRLoader: { readonly dataType: Texture<RadianceHDRMetadata>; readonly batchType: never; readonly name: "Radiance HDR"; readonly id: "hdr"; readonly module: "textures"; readonly version: any; readonly extensions: ["hdr"]; readonly mimeTypes: ["image/vnd.radiance", "image/x-hdr", "application/octet-stream"]; readonly binary: true; readonly tests: [typeof isHDR]; readonly options: { readonly hdr: {}; }; readonly parseSync: typeof parseHDR; readonly parse: (arrayBuffer: ArrayBuffer) => Promise<Texture<RadianceHDRMetadata>>; }; //# sourceMappingURL=radiance-hdr-loader.d.ts.map