Spaces:
Running
Running
File size: 1,029 Bytes
2b7aae2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | import { WebGLRenderer } from './../WebGLRenderer';
import { WebGLProgram } from './WebGLProgram';
import { WebGLCapabilities } from './WebGLCapabilities';
import { WebGLCubeMaps } from './WebGLCubeMaps';
import { WebGLExtensions } from './WebGLExtensions';
import { WebGLClipping } from './WebGLClipping';
import { WebGLBindingStates } from './WebGLBindingStates';
import { Material } from './../../materials/Material';
import { Scene } from './../../scenes/Scene';
export class WebGLPrograms {
constructor(
renderer: WebGLRenderer,
cubemaps: WebGLCubeMaps,
extensions: WebGLExtensions,
capabilities: WebGLCapabilities,
bindingStates: WebGLBindingStates,
clipping: WebGLClipping
);
programs: WebGLProgram[];
getParameters(material: Material, lights: any, shadows: object[], scene: Scene, object: any): any;
getProgramCacheKey(parameters: any): string;
getUniforms(material: Material): object;
acquireProgram(parameters: any, cacheKey: string): WebGLProgram;
releaseProgram(program: WebGLProgram): void;
}
|