UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

18 lines (17 loc) 725 B
import type { Texture } from '@luma.gl/core'; import type { ShaderModule } from './webgl'; /** Allowed input for images prop — either GPU-resident Texture objects or * legacy raster texture descriptors with CPU data that will be uploaded. */ export type ImageInput = Record<string, Texture | Texture[] | Record<string, unknown> | Record<string, unknown>[]>; /** Internal storage of images * The Texture object references data on the GPU */ export type ImageState = Record<string, Texture | Texture[]>; /** Properties added by RasterLayer. */ export type RasterLayerAddedProps = { modules: ShaderModule[]; images: ImageInput; moduleProps: Record<string, number>; onRedrawNeeded?: (() => void) | null; };