import { Size } from '../math/Size'; import Program from './Program'; import Texture from './Texture'; declare type ShaderArgs = { rgbTexture: WebGLUniformLocation; alphaTexture: WebGLUniformLocation; a_position: GLint; a_texCoord: GLint; }; export declare class RGBandA2RGBAShader { readonly gl: WebGLRenderingContext; readonly vertexBuffer: WebGLBuffer; readonly shaderArgs: ShaderArgs; readonly program: Program; static create(gl: WebGLRenderingContext): RGBandA2RGBAShader; private constructor(); setTexture(textureRGB: Texture, textureAlpha: Texture): void; use(): void; release(): void; updateShaderData(encodedFrameSize: Size, maxXTexCoord: number, maxYTexCoord: number): void; draw(): void; } export {};