Browse Source

Update IShadowGenerator

David Catuhe 8 năm trước cách đây
mục cha
commit
9cdb3461e8

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2016 - 2010
dist/preview release/babylon.d.ts


+ 3 - 1
dist/preview release/babylon.max.js

@@ -24893,7 +24893,9 @@ var BABYLON;
             }
             return result;
         };
-        // Force shader compilation including textures ready check
+        /**
+         * Force shader compilation including textures ready check
+         */
         Material.prototype.forceCompilation = function (mesh, onCompiled, options) {
             var _this = this;
             var subMesh = new BABYLON.BaseSubMesh();

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2016 - 2010
dist/preview release/babylon.module.d.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 5810 - 5804
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.d.ts


+ 3 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.max.js

@@ -24893,7 +24893,9 @@ var BABYLON;
             }
             return result;
         };
-        // Force shader compilation including textures ready check
+        /**
+         * Force shader compilation including textures ready check
+         */
         Material.prototype.forceCompilation = function (mesh, onCompiled, options) {
             var _this = this;
             var subMesh = new BABYLON.BaseSubMesh();

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 5810 - 5804
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.module.d.ts


+ 2 - 0
src/Lights/Shadows/babylon.shadowGenerator.ts

@@ -14,6 +14,8 @@
 
         recreateShadowMap(): void;
 
+        forceCompilation(onCompiled: (generator: ShadowGenerator) => void, options?: { useInstances: boolean }): void;
+
         serialize(): any;
         dispose(): void;
     }