All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.webgl.PaletteTexture.d.ts Maven / Gradle / Ivy

The newest version!
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|null}
     * @private
     */
    private texture_;
    /**
     * @param {WebGLRenderingContext} gl Rendering context.
     * @return {WebGLTexture} The texture.
     */
    getTexture(gl: WebGLRenderingContext): WebGLTexture;
    /**
     * @param {WebGLRenderingContext} gl Rendering context.
     */
    delete(gl: WebGLRenderingContext): void;
}
//# sourceMappingURL=PaletteTexture.d.ts.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy