@luma.gl/engine 9.0.11 → 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/LICENSE +34 -0
- package/dist/dist.dev.js +260 -109
- package/dist/dist.min.js +9 -9
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +2 -2
- 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/shader-inputs.ts +12 -9
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 = {};
|