Kaynağa Gözat

missing docs

Trevor Baron 6 yıl önce
ebeveyn
işleme
c4855a3fa7
1 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. 9 0
      src/Engines/engine.ts

+ 9 - 0
src/Engines/engine.ts

@@ -4354,6 +4354,15 @@ export class Engine {
         return texture;
     }
 
+    /**
+     * @hidden
+     * Rescales a texture
+     * @param source input texutre
+     * @param destination destination texture
+     * @param scene scene to use to render the resize
+     * @param internalFormat format to use when resizing
+     * @param onComplete callback to be called when resize has completed
+     */
     public _rescaleTexture(source: InternalTexture, destination: InternalTexture, scene: Nullable<Scene>, internalFormat: number, onComplete: () => void): void {
         this._gl.texParameteri(this._gl.TEXTURE_2D, this._gl.TEXTURE_MAG_FILTER, this._gl.LINEAR);
         this._gl.texParameteri(this._gl.TEXTURE_2D, this._gl.TEXTURE_MIN_FILTER, this._gl.LINEAR);