UNPKG

@openglobus/og

Version:

[openglobus](https://www.openglobus.org/) is a javascript/typescript library designed to display interactive 3d maps and planets with map tiles, imagery and vector data, markers, and 3D objects. It uses the WebGL technology, open source, and completely fr

19 lines (18 loc) 726 B
import { BaseGeoImage } from './BaseGeoImage'; import type { IBaseGeoImageParams } from './BaseGeoImage'; import { Material } from "../layer/Material"; import type { WebGLTextureExt } from "../webgl/Handler"; interface IGeoTexture2dParams extends IBaseGeoImageParams { texture?: WebGLTextureExt; frameWidth?: number; frameHeight?: number; } declare class GeoTexture2d extends BaseGeoImage { constructor(name: string | null, options?: IGeoTexture2dParams); get instanceName(): string; loadMaterial(material: Material): void; bindTexture(texture: WebGLTextureExt): void; setSize(width: number, height: number): void; abortMaterialLoading(material: Material): void; } export { GeoTexture2d };