sebastien 6 年之前
父節點
當前提交
702467634d
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      materialsLibrary/src/grid/gridmaterial.ts

+ 4 - 0
materialsLibrary/src/grid/gridmaterial.ts

@@ -193,6 +193,10 @@ export class GridMaterial extends BABYLON.PushMaterial {
         this._afterBind(mesh, this._activeEffect);
     }
 
+    /**
+     * Dispose the material and its associated resources.
+     * @param forceDisposeEffect will also dispose the used effect when true
+     */
     public dispose(forceDisposeEffect?: boolean): void {
         super.dispose(forceDisposeEffect);
     }