import { Shader, ShaderOptions } from '../../resources'; import { DeviceGL } from '../DeviceGL'; /** * A wrapper class around the {@link https://developer.mozilla.org/en-US/docs/Web/API/WebGLShader | WebGLShader} * * @public */ export declare class ShaderGL extends Shader { /** * The graphics device */ readonly device: DeviceGL; /** * The info log that is created after compilation holding error information */ info: string; handle: WebGLShader; /** * */ constructor(device: DeviceGL, options: ShaderOptions); /** * Releases the shader handle */ destroy(): this; /** * Compiles the shader source code */ compile(): this; get debug(): string; } //# sourceMappingURL=ShaderGL.d.ts.map