sebastien hace 6 años
padre
commit
702467634d
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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);
     }