DDSTexture

new SuperMap3D.DDSTexture(gl, width, height, imageBuffer)

DDS texture object.
Name Type Description
gl WebGLRenderingContext WebGL system object.
width Number texture width.
height Number Texture height.
imageBuffer Array texture data.

Methods

destroy()

Release resources.

enable()

Activate the texture unit.

initTexture()

Initialize the DDS texture.

updateTexture()

Update textures.