You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
617 B

export default PaletteTexture;
/**
* @module ol/webgl/PaletteTexture
*/
declare class PaletteTexture {
/**
* @param {string} name The name of the texture.
* @param {Uint8Array} data The texture data.
*/
constructor(name: string, data: Uint8Array);
name: string;
data: Uint8Array;
/**
* @type {WebGLTexture}
* @private
*/
private texture_;
/**
* @param {WebGLRenderingContext} gl Rendering context.
* @return {WebGLTexture} The texture.
*/
getTexture(gl: WebGLRenderingContext): WebGLTexture;
}
//# sourceMappingURL=PaletteTexture.d.ts.map