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