Browse Source

Using Partial type in createRenderTargetCubeTexture function

NicolasBuecher 7 years ago
parent
commit
64a6485426
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Engine/babylon.engine.ts

+ 1 - 1
src/Engine/babylon.engine.ts

@@ -3987,7 +3987,7 @@
             this._gl.compressedTexImage2D(target, lod, internalFormat, width, height, 0, data);
             this._gl.compressedTexImage2D(target, lod, internalFormat, width, height, 0, data);
         }
         }
 
 
-        public createRenderTargetCubeTexture(size: number, options?: RenderTargetCreationOptions): InternalTexture {
+        public createRenderTargetCubeTexture(size: number, options?: Partial<RenderTargetCreationOptions>): InternalTexture {
             let fullOptions = new RenderTargetCreationOptions();
             let fullOptions = new RenderTargetCreationOptions();
 
 
             if (options !== undefined && typeof options === "object") {
             if (options !== undefined && typeof options === "object") {