/** Utilities to create various textures. */ export declare class TextureUtils { /** * Creates non-power-of-two (NPOT) texture. * * @param gl WebGL context. * @param texWidth Texture width. * @param texHeight Texture height. * @param hasAlpha Set to `true` to create texture with alpha channel. */ static createNpotTexture(gl: WebGLRenderingContext | WebGL2RenderingContext, texWidth: number, texHeight: number, hasAlpha?: boolean): WebGLTexture | null; /** * Creates depth texture. * * @param gl WebGL context. * @param texWidth Texture width. * @param texHeight Texture height. */ static createDepthTexture(gl: WebGLRenderingContext | WebGL2RenderingContext, texWidth: number, texHeight: number): WebGLTexture | null; }