浏览代码

missing docs

Trevor Baron 6 年之前
父节点
当前提交
c4855a3fa7
共有 1 个文件被更改,包括 9 次插入0 次删除
  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);