|
@@ -1,11 +1,12 @@
|
|
|
-import { Material } from "../../materials/Material";
|
|
|
-import { Texture } from "../../textures/Texture";
|
|
|
-import { IFog } from "../../scenes/Fog";
|
|
|
-import { WebGLProperties } from "./WebGLProperties";
|
|
|
+import { Material } from '../../materials/Material';
|
|
|
+import { Texture } from '../../textures/Texture';
|
|
|
+import { IFog } from '../../scenes/Fog';
|
|
|
+import { WebGLProperties } from './WebGLProperties';
|
|
|
+import { WebGLCubeMaps } from './WebGLCubeMaps';
|
|
|
|
|
|
export class WebGLMaterials {
|
|
|
|
|
|
- constructor( properties: WebGLProperties );
|
|
|
+ constructor( properties: WebGLProperties, cubemaps: WebGLCubeMaps );
|
|
|
|
|
|
refreshMaterialUniforms( uniforms: object, material: Material, environment: Texture, pixelRatio: number, height: number ): void;
|
|
|
refreshFogUniforms( uniforms: object, fog: IFog ): void;
|