1 | import { WebGLExtensions } from './WebGLExtensions';
|
2 | import { WebGLCapabilities } from './WebGLCapabilities';
|
3 |
|
4 | export class WebGLLights {
|
5 | constructor(extensions: WebGLExtensions, capabilities: WebGLCapabilities);
|
6 |
|
7 | state: {
|
8 | version: number;
|
9 |
|
10 | hash: {
|
11 | directionalLength: number;
|
12 | pointLength: number;
|
13 | spotLength: number;
|
14 | rectAreaLength: number;
|
15 | hemiLength: number;
|
16 |
|
17 | numDirectionalShadows: number;
|
18 | numPointShadows: number;
|
19 | numSpotShadows: number;
|
20 | };
|
21 |
|
22 | ambient: number[];
|
23 | probe: any[];
|
24 | directional: any[];
|
25 | directionalShadow: any[];
|
26 | directionalShadowMap: any[];
|
27 | directionalShadowMatrix: any[];
|
28 | spot: any[];
|
29 | spotShadow: any[];
|
30 | spotShadowMap: any[];
|
31 | spotShadowMatrix: any[];
|
32 | rectArea: any[];
|
33 | point: any[];
|
34 | pointShadow: any[];
|
35 | pointShadowMap: any[];
|
36 | pointShadowMatrix: any[];
|
37 | hemi: any[];
|
38 | };
|
39 |
|
40 | get(light: any): any;
|
41 | setup(lights: any): void;
|
42 | setupView(lights: any, camera: any): void;
|
43 | }
|