kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
18 lines (17 loc) • 757 B
TypeScript
/// <reference types="luma.gl__webgl" />
import type { Texture2DProps, Texture2D } from '@luma.gl/webgl';
import type { ShaderModule } from './webgl';
/** Allowed input for images prop
* Texture2D is already on the GPU, while Texture2DProps can be data on the CPU that is not yet copied to the GPU.
*/
export declare type ImageInput = Record<string, Texture2DProps | Texture2D | (Texture2DProps | Texture2D)[]>;
/** Internal storage of images
* The Texture2D object references data on the GPU
*/
export declare type ImageState = Record<string, Texture2D | Texture2D[]>;
/** Properties added by RasterLayer. */
export declare type RasterLayerAddedProps = {
modules: ShaderModule[];
images: ImageInput;
moduleProps: Record<string, number>;
};