@@ -5,6 +5,7 @@ import { WebGLInfo } from './webgl/WebGLInfo';
5
5
import { WebGLShadowMap } from './webgl/WebGLShadowMap' ;
6
6
import { WebGLCapabilities } from './webgl/WebGLCapabilities' ;
7
7
import { WebGLProperties } from './webgl/WebGLProperties' ;
8
+ import { WebGLProgram } from './webgl/WebGLProgram' ;
8
9
import { WebGLRenderLists } from './webgl/WebGLRenderLists' ;
9
10
import { WebGLState } from './webgl/WebGLState' ;
10
11
import { Vector2 } from './../math/Vector2' ;
@@ -13,7 +14,6 @@ import { Color } from './../math/Color';
13
14
import { WebGLRenderTarget } from './WebGLRenderTarget' ;
14
15
import { Object3D } from './../core/Object3D' ;
15
16
import { Material } from './../materials/Material' ;
16
- import { Fog } from './../scenes/Fog' ;
17
17
import { ToneMapping , ShadowMapType , CullFace , TextureEncoding } from '../constants' ;
18
18
import { WebXRManager } from '../renderers/webxr/WebXRManager' ;
19
19
import { RenderTarget } from './webgl/WebGLRenderLists' ;
@@ -307,21 +307,14 @@ export class WebGLRenderer implements Renderer {
307
307
resetGLState ( ) : void ;
308
308
dispose ( ) : void ;
309
309
310
- /**
311
- * Tells the shadow map plugin to update using the passed scene and camera parameters.
312
- *
313
- * @param scene an instance of Scene
314
- * @param camera — an instance of Camera
315
- */
316
310
renderBufferImmediate (
317
311
object : Object3D ,
318
- program : Object ,
319
- material : Material
312
+ program : WebGLProgram ,
320
313
) : void ;
321
314
322
315
renderBufferDirect (
323
316
camera : Camera ,
324
- fog : Fog ,
317
+ scene : Scene ,
325
318
geometry : Geometry | BufferGeometry ,
326
319
material : Material ,
327
320
object : Object3D ,
0 commit comments