Ver Fonte

type fixes

Filipp Keks há 5 anos atrás
pai
commit
bb010caa73
2 ficheiros alterados com 4 adições e 3 exclusões
  1. 2 2
      src/renderers/webgl/WebGLMaterials.d.ts
  2. 2 1
      src/scenes/Scene.d.ts

+ 2 - 2
src/renderers/webgl/WebGLMaterials.d.ts

@@ -7,7 +7,7 @@ export class WebGLMaterials {
 
 	constructor( properties: WebGLProperties );
 
-	refreshUniforms( uniforms: object, material: Material, environment: Texture, pixelRatio: number, height: number ): void;
-	refreshUniformsFog( uniforms: object, fog: IFog ): void;
+	refreshMaterialUniforms( uniforms: object, material: Material, environment: Texture, pixelRatio: number, height: number ): void;
+	refreshFogUniforms( uniforms: object, fog: IFog ): void;
 
 }

+ 2 - 1
src/scenes/Scene.d.ts

@@ -6,6 +6,7 @@ import { Texture } from '../textures/Texture';
 import { WebGLRenderer } from "../renderers/WebGLRenderer";
 import { Camera } from "../cameras/Camera";
 import { RenderTarget } from "../renderers/webgl/WebGLRenderLists";
+import { WebGLRenderTarget } from "../renderers/WebGLRenderTarget";
 // Scenes /////////////////////////////////////////////////////////////////////
 
 /**
@@ -27,7 +28,7 @@ export class Scene extends Object3D {
 	 */
 	overrideMaterial: Material | null;
 	autoUpdate: boolean;
-	background: null | Color | Texture;
+	background: null | Color | Texture | WebGLRenderTarget;
 	environment: null | Texture;
 
 	readonly isScene: true;