UNPKG

927 BTypeScriptView Raw
1import { Camera } from "../../cameras/Camera.js";
2import { ShadowMapType } from "../../constants.js";
3import { Light } from "../../lights/Light.js";
4import { Scene } from "../../scenes/Scene.js";
5import { WebGLRenderer } from "../WebGLRenderer.js";
6import { WebGLCapabilities } from "./WebGLCapabilities.js";
7import { WebGLObjects } from "./WebGLObjects.js";
8
9export 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}