import { WebGLRenderer } from "../WebGLRenderer.js"; import { WebGLUniforms } from "./WebGLUniforms.js"; export class WebGLProgram { constructor(renderer: WebGLRenderer, cacheKey: string, parameters: object); name: string; id: number; cacheKey: string; // unique identifier for this program, used for looking up compiled programs from cache. /** * @default 1 */ usedTimes: number; program: any; vertexShader: WebGLShader; fragmentShader: WebGLShader; /** * @deprecated Use {@link WebGLProgram#getUniforms getUniforms()} instead. */ uniforms: any; /** * @deprecated Use {@link WebGLProgram#getAttributes getAttributes()} instead. */ attributes: any; getUniforms(): WebGLUniforms; getAttributes(): any; destroy(): void; }