kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
17 lines (16 loc) • 578 B
TypeScript
import type { Texture } from '@luma.gl/core';
import type { ImageInput, ImageState } from './types';
/** luma.gl device interface for texture creation */
interface LumaDevice {
createTexture(props: Record<string, unknown>): Texture;
gl?: WebGL2RenderingContext;
}
type LoadImagesOptions = {
gl: WebGL2RenderingContext;
device?: LumaDevice;
images: ImageState;
imagesData: ImageInput;
oldImagesData: ImageInput;
};
export declare function loadImages({ gl, device, images, imagesData, oldImagesData }: LoadImagesOptions): ImageState | null;
export {};