1 | import { Camera } from "../../cameras/Camera.js";
|
2 | import { ShadowMapType } from "../../constants.js";
|
3 | import { Light } from "../../lights/Light.js";
|
4 | import { Scene } from "../../scenes/Scene.js";
|
5 | import { WebGLRenderer } from "../WebGLRenderer.js";
|
6 | import { WebGLCapabilities } from "./WebGLCapabilities.js";
|
7 | import { WebGLObjects } from "./WebGLObjects.js";
|
8 |
|
9 | export class WebGLShadowMap {
|
10 | constructor(_renderer: WebGLRenderer, _objects: WebGLObjects, _capabilities: WebGLCapabilities);
|
11 |
|
12 | /**
|
13 | * @default false
|
14 | */
|
15 | enabled: boolean;
|
16 |
|
17 | /**
|
18 | * @default true
|
19 | */
|
20 | autoUpdate: boolean;
|
21 |
|
22 | /**
|
23 | * @default false
|
24 | */
|
25 | needsUpdate: boolean;
|
26 |
|
27 | /**
|
28 | * @default THREE.PCFShadowMap
|
29 | */
|
30 | type: ShadowMapType;
|
31 |
|
32 | render(shadowsArray: Light[], scene: Scene, camera: Camera): void;
|
33 |
|
34 | /**
|
35 | * @deprecated Use {@link Material#shadowSide} instead.
|
36 | */
|
37 | cullFace: any;
|
38 | }
|