@deck.gl-community/layers
Version:
Add-on layers for deck.gl
15 lines • 771 B
TypeScript
import type { TextureCubeManifest, TextureCubeLoaderOptions } from '@loaders.gl/textures';
import type { TextureCubeData } from '@luma.gl/engine';
type LoadedCubemapTexture = {
type: 'cube';
data: unknown[];
};
/**
* Normalizes loaders.gl cubemap load options so in-memory manifests can still
* resolve relative face URLs through `core.baseUrl`.
*/
export declare function createCubemapLoadOptions(cubemap: string | TextureCubeManifest, loadOptions?: TextureCubeLoaderOptions | null): TextureCubeLoaderOptions | undefined;
/** Converts a loaders.gl cubemap result into luma.gl `TextureCubeData`. */
export declare function convertLoadedCubemapToTextureData(texture: LoadedCubemapTexture): TextureCubeData;
export {};
//# sourceMappingURL=cubemap-utils.d.ts.map