Browse Source

Add variables sourceTexture, resolution and renderTarget to type definition

Johannes Deml 5 years ago
parent
commit
a4173302ec
1 changed files with 3 additions and 0 deletions
  1. 3 0
      examples/jsm/loaders/EquirectangularToCubeGenerator.d.ts

+ 3 - 0
examples/jsm/loaders/EquirectangularToCubeGenerator.d.ts

@@ -31,6 +31,9 @@ export class CubemapGenerator {
 export class EquirectangularToCubeGenerator {
 
 	constructor( sourceTexture: Texture, options?: EquirectangularToCubeGeneratorOptions );
+	sourceTexture: Texture;
+	resolution: number;
+	renderTarget: WebGLRenderTargetCube;
 
 	dispose(): void;
 	update( renderer: WebGLRenderer ): Texture;