import type { GLCat } from './GLCat'; declare type WebGL1 = WebGLRenderingContext; declare type WebGL2 = WebGL2RenderingContext; /** * It's a WebGLShader. */ export declare class GLCatShader { private __glCat; private __shader; private __compiled; /** * Its own shader. */ get shader(): WebGLShader; /** * Its own shader. Shorter than [[GLCatShader.shader]]. */ get raw(): WebGLShader; /** * Create a new GLCatShader instance. */ constructor(glCat: GLCat, shader: WebGLShader); /** * Dispose the shader. */ dispose(): void; /** * Return whether the last compilation was successful or not. */ isCompiled(): boolean; /** * Compile the shader. */ compile(code: string): void; } export {};