@luma.gl/engine 9.0.15 → 9.0.17
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 +785 -174
- package/dist/dist.min.js +25 -25
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/shader-inputs.d.ts +6 -18
- package/dist/shader-inputs.d.ts.map +1 -1
- package/dist/shader-inputs.js +1 -1
- package/package.json +3 -3
- package/src/index.ts +0 -1
- package/src/shader-inputs.ts +12 -35
package/dist/index.cjs
CHANGED
|
@@ -782,7 +782,7 @@ var ShaderInputs = class {
|
|
|
782
782
|
}
|
|
783
783
|
const oldUniforms = this.moduleUniforms[moduleName];
|
|
784
784
|
const oldBindings = this.moduleBindings[moduleName];
|
|
785
|
-
const uniformsAndBindings = ((_a = module2.getUniforms) == null ? void 0 : _a.call(module2, moduleProps,
|
|
785
|
+
const uniformsAndBindings = ((_a = module2.getUniforms) == null ? void 0 : _a.call(module2, moduleProps, oldUniforms)) || moduleProps;
|
|
786
786
|
const { uniforms, bindings } = (0, import_core5.splitUniformsAndBindings)(uniformsAndBindings);
|
|
787
787
|
this.moduleUniforms[moduleName] = { ...oldUniforms, ...uniforms };
|
|
788
788
|
this.moduleBindings[moduleName] = { ...oldBindings, ...bindings };
|