@luma.gl/engine 9.0.10 → 9.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dist.dev.js +261 -110
- package/dist/dist.min.js +9 -9
- package/dist/index.cjs +6 -3
- package/dist/index.cjs.map +2 -2
- package/dist/model/model.js +1 -1
- package/dist/shader-inputs.d.ts +1 -1
- package/dist/shader-inputs.d.ts.map +1 -1
- package/dist/shader-inputs.js +7 -3
- package/dist.min.js +25 -0
- package/package.json +3 -3
- package/src/model/model.ts +1 -1
- package/src/shader-inputs.ts +12 -9
- package/src/.DS_Store +0 -0
package/dist/index.cjs
CHANGED
|
@@ -750,8 +750,11 @@ var ShaderInputs = class {
|
|
|
750
750
|
* @param modules
|
|
751
751
|
*/
|
|
752
752
|
constructor(modules) {
|
|
753
|
-
const
|
|
754
|
-
|
|
753
|
+
const resolvedModules = (0, import_shadertools._resolveModules)(Object.values(modules).filter((module2) => module2.dependencies));
|
|
754
|
+
for (const resolvedModule of resolvedModules) {
|
|
755
|
+
modules[resolvedModule.name] = resolvedModule;
|
|
756
|
+
}
|
|
757
|
+
import_core5.log.log(1, "Creating ShaderInputs with modules", Object.keys(modules))();
|
|
755
758
|
this.modules = modules;
|
|
756
759
|
this.moduleUniforms = {};
|
|
757
760
|
this.moduleBindings = {};
|
|
@@ -1113,7 +1116,7 @@ var _Model = class {
|
|
|
1113
1116
|
if (this._gpuGeometry) {
|
|
1114
1117
|
this._setGeometryAttributes(this._gpuGeometry);
|
|
1115
1118
|
}
|
|
1116
|
-
if (props
|
|
1119
|
+
if ("isInstanced" in props) {
|
|
1117
1120
|
this.isInstanced = props.isInstanced;
|
|
1118
1121
|
}
|
|
1119
1122
|
if (props.instanceCount) {
|