Selaa lähdekoodia

Update IShadowGenerator

David Catuhe 8 vuotta sitten
vanhempi
commit
9cdb3461e8

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 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();

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 2016 - 2010
dist/preview release/babylon.module.d.ts


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 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();

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 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;
     }