@luma.gl/engine 9.3.5 → 9.4.0-alpha.1
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/animation/animator.d.ts +42 -0
- package/dist/animation/animator.d.ts.map +1 -0
- package/dist/animation/animator.js +53 -0
- package/dist/animation/animator.js.map +1 -0
- package/dist/animation-loop/animation-loop.d.ts +14 -2
- package/dist/animation-loop/animation-loop.d.ts.map +1 -1
- package/dist/animation-loop/animation-loop.js +40 -22
- package/dist/animation-loop/animation-loop.js.map +1 -1
- package/dist/animation-loop/animation-props.d.ts +2 -0
- package/dist/animation-loop/animation-props.d.ts.map +1 -1
- package/dist/animation-loop/make-animation-loop.d.ts +1 -0
- package/dist/animation-loop/make-animation-loop.d.ts.map +1 -1
- package/dist/animation-loop/make-animation-loop.js +3 -0
- package/dist/animation-loop/make-animation-loop.js.map +1 -1
- package/dist/application-utils/load-file.d.ts +2 -0
- package/dist/application-utils/load-file.d.ts.map +1 -1
- package/dist/application-utils/load-file.js +31 -5
- package/dist/application-utils/load-file.js.map +1 -1
- package/dist/compute/buffer-transform.d.ts +5 -1
- package/dist/compute/buffer-transform.d.ts.map +1 -1
- package/dist/compute/buffer-transform.js +7 -3
- package/dist/compute/buffer-transform.js.map +1 -1
- package/dist/compute/computation.d.ts +20 -8
- package/dist/compute/computation.d.ts.map +1 -1
- package/dist/compute/computation.js +34 -13
- package/dist/compute/computation.js.map +1 -1
- package/dist/compute/swap.d.ts.map +1 -1
- package/dist/compute/swap.js +17 -0
- package/dist/compute/swap.js.map +1 -1
- package/dist/dist.dev.js +4100 -1979
- package/dist/dist.min.js +288 -42
- package/dist/dynamic-buffer/dynamic-buffer.d.ts +171 -0
- package/dist/dynamic-buffer/dynamic-buffer.d.ts.map +1 -0
- package/dist/dynamic-buffer/dynamic-buffer.js +316 -0
- package/dist/dynamic-buffer/dynamic-buffer.js.map +1 -0
- package/dist/dynamic-texture/dynamic-texture.d.ts +14 -1
- package/dist/dynamic-texture/dynamic-texture.d.ts.map +1 -1
- package/dist/dynamic-texture/dynamic-texture.js +31 -2
- package/dist/dynamic-texture/dynamic-texture.js.map +1 -1
- package/dist/dynamic-texture/texture-binding-source.d.ts +55 -0
- package/dist/dynamic-texture/texture-binding-source.d.ts.map +1 -0
- package/dist/dynamic-texture/texture-binding-source.js +55 -0
- package/dist/dynamic-texture/texture-binding-source.js.map +1 -0
- package/dist/dynamic-texture/texture-data.d.ts +5 -3
- package/dist/dynamic-texture/texture-data.d.ts.map +1 -1
- package/dist/dynamic-texture/texture-data.js +5 -0
- package/dist/dynamic-texture/texture-data.js.map +1 -1
- package/dist/dynamic-texture/video-texture.d.ts +101 -0
- package/dist/dynamic-texture/video-texture.d.ts.map +1 -0
- package/dist/dynamic-texture/video-texture.js +272 -0
- package/dist/dynamic-texture/video-texture.js.map +1 -0
- package/dist/geometries/cube-geometry.d.ts +1 -0
- package/dist/geometries/cube-geometry.d.ts.map +1 -1
- package/dist/geometries/cube-geometry.js +22 -2
- package/dist/geometries/cube-geometry.js.map +1 -1
- package/dist/geometries/plane-geometry.d.ts +10 -0
- package/dist/geometries/plane-geometry.d.ts.map +1 -1
- package/dist/geometries/plane-geometry.js.map +1 -1
- package/dist/geometry/geometry-utils.d.ts +36 -1
- package/dist/geometry/geometry-utils.d.ts.map +1 -1
- package/dist/geometry/geometry-utils.js +137 -2
- package/dist/geometry/geometry-utils.js.map +1 -1
- package/dist/geometry/geometry.d.ts +52 -33
- package/dist/geometry/geometry.d.ts.map +1 -1
- package/dist/geometry/geometry.js +70 -19
- package/dist/geometry/geometry.js.map +1 -1
- package/dist/geometry/gpu-geometry.d.ts +37 -4
- package/dist/geometry/gpu-geometry.d.ts.map +1 -1
- package/dist/geometry/gpu-geometry.js +44 -36
- package/dist/geometry/gpu-geometry.js.map +1 -1
- package/dist/index.cjs +3990 -1961
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +20 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/material/material-factory.d.ts +2 -1
- package/dist/material/material-factory.d.ts.map +1 -1
- package/dist/material/material-factory.js.map +1 -1
- package/dist/material/material.d.ts +29 -10
- package/dist/material/material.d.ts.map +1 -1
- package/dist/material/material.js +84 -21
- package/dist/material/material.js.map +1 -1
- package/dist/model/model.d.ts +81 -23
- package/dist/model/model.d.ts.map +1 -1
- package/dist/model/model.js +312 -78
- package/dist/model/model.js.map +1 -1
- package/dist/model/split-uniforms-and-bindings.d.ts +5 -2
- package/dist/model/split-uniforms-and-bindings.d.ts.map +1 -1
- package/dist/model/split-uniforms-and-bindings.js.map +1 -1
- package/dist/models/billboard-texture-model.d.ts +5 -2
- package/dist/models/billboard-texture-model.d.ts.map +1 -1
- package/dist/models/billboard-texture-model.js +28 -10
- package/dist/models/billboard-texture-model.js.map +1 -1
- package/dist/modules/picking/index-color-picking.d.ts +24 -0
- package/dist/modules/picking/index-color-picking.d.ts.map +1 -0
- package/dist/modules/picking/index-color-picking.js +205 -0
- package/dist/modules/picking/index-color-picking.js.map +1 -0
- package/dist/modules/picking/index-picking.d.ts +3 -3
- package/dist/modules/picking/index-picking.d.ts.map +1 -1
- package/dist/modules/picking/index-picking.js +23 -6
- package/dist/modules/picking/index-picking.js.map +1 -1
- package/dist/modules/picking/picking-manager.d.ts +21 -0
- package/dist/modules/picking/picking-manager.d.ts.map +1 -1
- package/dist/modules/picking/picking-manager.js +100 -0
- package/dist/modules/picking/picking-manager.js.map +1 -1
- package/dist/modules/picking/picking-uniforms.d.ts +4 -4
- package/dist/modules/picking/picking-uniforms.d.ts.map +1 -1
- package/dist/modules/picking/picking-uniforms.js +3 -0
- package/dist/modules/picking/picking-uniforms.js.map +1 -1
- package/dist/modules/picking/picking.d.ts +5 -1
- package/dist/modules/picking/picking.d.ts.map +1 -1
- package/dist/modules/picking/picking.js +6 -0
- package/dist/modules/picking/picking.js.map +1 -1
- package/dist/passes/get-fragment-shader.js +4 -4
- package/dist/passes/shader-pass-renderer.d.ts +92 -25
- package/dist/passes/shader-pass-renderer.d.ts.map +1 -1
- package/dist/passes/shader-pass-renderer.js +466 -72
- package/dist/passes/shader-pass-renderer.js.map +1 -1
- package/dist/passes/texture-transform-module.d.ts +10 -0
- package/dist/passes/texture-transform-module.d.ts.map +1 -0
- package/dist/passes/texture-transform-module.js +50 -0
- package/dist/passes/texture-transform-module.js.map +1 -0
- package/dist/shader-inputs.d.ts +33 -16
- package/dist/shader-inputs.d.ts.map +1 -1
- package/dist/shader-inputs.js +42 -12
- package/dist/shader-inputs.js.map +1 -1
- package/dist/utils/buffer-layout-helper.d.ts +0 -1
- package/dist/utils/buffer-layout-helper.d.ts.map +1 -1
- package/dist/utils/buffer-layout-helper.js +2 -11
- package/dist/utils/buffer-layout-helper.js.map +1 -1
- package/dist/utils/buffer-layout-order.d.ts.map +1 -1
- package/dist/utils/buffer-layout-order.js +4 -15
- package/dist/utils/buffer-layout-order.js.map +1 -1
- package/dist/utils/shader-module-utils.d.ts +2 -0
- package/dist/utils/shader-module-utils.d.ts.map +1 -1
- package/dist/utils/shader-module-utils.js +64 -3
- package/dist/utils/shader-module-utils.js.map +1 -1
- package/package.json +2 -2
- package/src/animation/animator.ts +79 -0
- package/src/animation-loop/animation-loop.ts +56 -22
- package/src/animation-loop/animation-props.ts +2 -0
- package/src/animation-loop/make-animation-loop.ts +4 -0
- package/src/application-utils/load-file.ts +38 -5
- package/src/compute/buffer-transform.ts +14 -5
- package/src/compute/computation.ts +53 -21
- package/src/compute/swap.ts +19 -0
- package/src/dynamic-buffer/dynamic-buffer.ts +453 -0
- package/src/dynamic-texture/dynamic-texture.ts +36 -3
- package/src/dynamic-texture/texture-binding-source.ts +94 -0
- package/src/dynamic-texture/texture-data.ts +12 -4
- package/src/dynamic-texture/video-texture.ts +334 -0
- package/src/geometries/cube-geometry.ts +24 -2
- package/src/geometries/plane-geometry.ts +10 -0
- package/src/geometry/geometry-utils.ts +209 -4
- package/src/geometry/geometry.ts +113 -36
- package/src/geometry/gpu-geometry.ts +61 -41
- package/src/index.ts +50 -14
- package/src/material/material-factory.ts +5 -1
- package/src/material/material.ts +123 -27
- package/src/model/model.ts +441 -102
- package/src/model/split-uniforms-and-bindings.ts +7 -3
- package/src/models/billboard-texture-model.ts +33 -12
- package/src/modules/picking/index-color-picking.ts +212 -0
- package/src/modules/picking/index-picking.ts +23 -6
- package/src/modules/picking/picking-manager.ts +141 -0
- package/src/modules/picking/picking-uniforms.ts +7 -4
- package/src/modules/picking/picking.ts +8 -0
- package/src/passes/get-fragment-shader.ts +4 -4
- package/src/passes/shader-pass-renderer.ts +691 -89
- package/src/passes/texture-transform-module.ts +52 -0
- package/src/shader-inputs.ts +65 -17
- package/src/utils/buffer-layout-helper.ts +2 -14
- package/src/utils/buffer-layout-order.ts +14 -24
- package/src/utils/shader-module-utils.ts +109 -3
- package/dist/geometry/gpu-table.d.ts +0 -1
- package/dist/geometry/gpu-table.d.ts.map +0 -1
- package/dist/geometry/gpu-table.js +0 -46
- package/dist/geometry/gpu-table.js.map +0 -1
- package/src/dynamic-texture/texture-data.ts.disabled +0 -296
- package/src/geometry/gpu-table.ts +0 -45
package/src/material/material.ts
CHANGED
|
@@ -2,10 +2,28 @@
|
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// Copyright (c) vis.gl contributors
|
|
4
4
|
|
|
5
|
-
import type {
|
|
6
|
-
|
|
5
|
+
import type {
|
|
6
|
+
Binding,
|
|
7
|
+
BindingsByGroup,
|
|
8
|
+
CommandEncoder,
|
|
9
|
+
ComputeShaderLayout,
|
|
10
|
+
Device,
|
|
11
|
+
ShaderLayout
|
|
12
|
+
} from '@luma.gl/core';
|
|
13
|
+
import {Buffer, ExternalTexture, Texture, TextureView, UniformStore} from '@luma.gl/core';
|
|
7
14
|
import type {ShaderModule} from '@luma.gl/shadertools';
|
|
8
|
-
import {
|
|
15
|
+
import {
|
|
16
|
+
DynamicBuffer,
|
|
17
|
+
type DynamicBufferRange,
|
|
18
|
+
getDynamicBufferFromBinding,
|
|
19
|
+
isBufferRangeBinding,
|
|
20
|
+
resolveBufferRangeBinding
|
|
21
|
+
} from '../dynamic-buffer/dynamic-buffer';
|
|
22
|
+
import {
|
|
23
|
+
getTextureBindingLayout,
|
|
24
|
+
isTextureBindingSource,
|
|
25
|
+
type TextureBindingSource
|
|
26
|
+
} from '../dynamic-texture/texture-binding-source';
|
|
9
27
|
import {ShaderInputs} from '../shader-inputs';
|
|
10
28
|
import {shaderModuleHasUniforms} from '../utils/shader-module-utils';
|
|
11
29
|
import {uid} from '../utils/uid';
|
|
@@ -16,7 +34,11 @@ import {
|
|
|
16
34
|
} from './material-factory';
|
|
17
35
|
|
|
18
36
|
type MaterialModuleProps = Partial<Record<string, Record<string, unknown>>>;
|
|
19
|
-
|
|
37
|
+
/** Resource accepted by one material binding slot. */
|
|
38
|
+
type MaterialBinding = Binding | TextureBindingSource | DynamicBuffer | DynamicBufferRange;
|
|
39
|
+
type MaterialBindings = Record<string, MaterialBinding>;
|
|
40
|
+
/** Shader layout subset needed while resolving texture binding sources. */
|
|
41
|
+
type AnyShaderLayout = Pick<ShaderLayout | ComputeShaderLayout, 'bindings'>;
|
|
20
42
|
type MaterialPropsUpdate<TModuleProps extends MaterialModuleProps> = Partial<{
|
|
21
43
|
[P in keyof TModuleProps]?: Partial<TModuleProps[P]>;
|
|
22
44
|
}>;
|
|
@@ -72,10 +94,11 @@ export class Material<
|
|
|
72
94
|
/** Shader inputs for the material-owned modules. */
|
|
73
95
|
readonly shaderInputs: ShaderInputs<TModuleProps>;
|
|
74
96
|
/** Internal binding store including uniform buffers and resource bindings. */
|
|
75
|
-
readonly bindings: Record<string,
|
|
97
|
+
readonly bindings: Record<string, MaterialBinding> = {};
|
|
76
98
|
|
|
77
99
|
private _uniformStore: UniformStore;
|
|
78
100
|
private _bindGroupCacheToken: object = {};
|
|
101
|
+
private _dynamicResourceGenerations: Record<string, number> = {};
|
|
79
102
|
|
|
80
103
|
constructor(device: Device, props: MaterialProps<TModuleProps, TBindings> = {}) {
|
|
81
104
|
this.id = props.id || uid('material');
|
|
@@ -133,6 +156,7 @@ export class Material<
|
|
|
133
156
|
if (props.moduleProps) {
|
|
134
157
|
material.setProps(props.moduleProps);
|
|
135
158
|
}
|
|
159
|
+
material.updateShaderInputs();
|
|
136
160
|
return material;
|
|
137
161
|
}
|
|
138
162
|
|
|
@@ -149,12 +173,16 @@ export class Material<
|
|
|
149
173
|
/** Updates material uniform/module props in place without changing material identity. */
|
|
150
174
|
setProps(props: MaterialPropsUpdate<TModuleProps>): void {
|
|
151
175
|
this.shaderInputs.setProps(props);
|
|
152
|
-
this.updateShaderInputs();
|
|
153
176
|
}
|
|
154
177
|
|
|
155
|
-
/**
|
|
156
|
-
|
|
157
|
-
|
|
178
|
+
/**
|
|
179
|
+
* Updates managed uniform buffers and shader-input-owned bindings.
|
|
180
|
+
*
|
|
181
|
+
* @param commandEncoder - Optional encoder used to order material uniform
|
|
182
|
+
* uploads with subsequent draw commands.
|
|
183
|
+
*/
|
|
184
|
+
updateShaderInputs(commandEncoder?: CommandEncoder): void {
|
|
185
|
+
this._uniformStore.setUniforms(this.shaderInputs.getUniformValues(), commandEncoder);
|
|
158
186
|
const didChange = this._setOwnedBindings(this.shaderInputs.getBindingValues());
|
|
159
187
|
if (didChange) {
|
|
160
188
|
this._bindGroupCacheToken = {};
|
|
@@ -167,39 +195,58 @@ export class Material<
|
|
|
167
195
|
|
|
168
196
|
for (const [name, binding] of Object.entries(this.bindings)) {
|
|
169
197
|
if (!getModuleNameFromUniformBinding(name)) {
|
|
170
|
-
(resourceBindings as Record<string,
|
|
198
|
+
(resourceBindings as Record<string, MaterialBinding>)[name] = binding;
|
|
171
199
|
}
|
|
172
200
|
}
|
|
173
201
|
|
|
174
202
|
return resourceBindings;
|
|
175
203
|
}
|
|
176
204
|
|
|
177
|
-
/**
|
|
178
|
-
|
|
205
|
+
/**
|
|
206
|
+
* Returns resolved bindings, including internal uniform buffers and ready texture sources.
|
|
207
|
+
* @param shaderLayout Reflected bindings used to select copied or external texture resolution.
|
|
208
|
+
*/
|
|
209
|
+
getBindings(
|
|
210
|
+
shaderLayout: AnyShaderLayout = {bindings: []}
|
|
211
|
+
): Partial<{[K in keyof TBindings]: Binding}> & Record<string, Binding> {
|
|
212
|
+
this._syncDynamicResourceGenerations();
|
|
213
|
+
|
|
179
214
|
const validBindings = {} as Partial<{[K in keyof TBindings]: Binding}> &
|
|
180
215
|
Record<string, Binding>;
|
|
181
216
|
const validBindingsMap = validBindings as Record<string, Binding>;
|
|
182
|
-
|
|
183
217
|
for (const [name, binding] of Object.entries(this.bindings)) {
|
|
184
|
-
if (binding
|
|
185
|
-
|
|
186
|
-
|
|
218
|
+
if (isTextureBindingSource(binding)) {
|
|
219
|
+
const bindingLayout = getTextureBindingLayout(shaderLayout, name, {
|
|
220
|
+
fallbackGroup: MATERIAL_BIND_GROUP
|
|
221
|
+
});
|
|
222
|
+
const resolvedBinding = bindingLayout ? binding.resolveTextureBinding(bindingLayout) : null;
|
|
223
|
+
if (resolvedBinding) {
|
|
224
|
+
validBindingsMap[name] = resolvedBinding;
|
|
187
225
|
}
|
|
226
|
+
} else if (binding instanceof DynamicBuffer) {
|
|
227
|
+
validBindingsMap[name] = binding.buffer;
|
|
228
|
+
} else if (isBufferRangeBinding(binding)) {
|
|
229
|
+
validBindingsMap[name] = resolveBufferRangeBinding(binding);
|
|
188
230
|
} else {
|
|
189
231
|
validBindingsMap[name] = binding;
|
|
190
232
|
}
|
|
191
233
|
}
|
|
192
234
|
|
|
235
|
+
this._syncDynamicResourceGenerations();
|
|
193
236
|
return validBindings;
|
|
194
237
|
}
|
|
195
238
|
|
|
196
|
-
/**
|
|
197
|
-
|
|
198
|
-
|
|
239
|
+
/**
|
|
240
|
+
* Packages resolved material bindings into logical bind group `3`.
|
|
241
|
+
* @param shaderLayout Reflected bindings used to select copied or external texture resolution.
|
|
242
|
+
*/
|
|
243
|
+
getBindingsByGroup(shaderLayout: AnyShaderLayout = {bindings: []}): BindingsByGroup {
|
|
244
|
+
return this.factory.getBindingsByGroup(this.getBindings(shaderLayout));
|
|
199
245
|
}
|
|
200
246
|
|
|
201
247
|
/** Returns the stable bind-group cache token for the requested bind group. */
|
|
202
248
|
getBindGroupCacheKey(group: number): object | null {
|
|
249
|
+
this._syncDynamicResourceGenerations();
|
|
203
250
|
return group === MATERIAL_BIND_GROUP ? this._bindGroupCacheToken : null;
|
|
204
251
|
}
|
|
205
252
|
|
|
@@ -209,14 +256,23 @@ export class Material<
|
|
|
209
256
|
for (const binding of Object.values(this.bindings)) {
|
|
210
257
|
if (binding instanceof TextureView) {
|
|
211
258
|
timestamp = Math.max(timestamp, binding.texture.updateTimestamp);
|
|
212
|
-
} else if (
|
|
259
|
+
} else if (
|
|
260
|
+
binding instanceof Buffer ||
|
|
261
|
+
binding instanceof Texture ||
|
|
262
|
+
binding instanceof ExternalTexture
|
|
263
|
+
) {
|
|
264
|
+
timestamp = Math.max(timestamp, binding.updateTimestamp);
|
|
265
|
+
} else if (binding instanceof DynamicBuffer) {
|
|
213
266
|
timestamp = Math.max(timestamp, binding.updateTimestamp);
|
|
214
|
-
} else if (binding
|
|
215
|
-
timestamp = binding.
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
267
|
+
} else if (isTextureBindingSource(binding)) {
|
|
268
|
+
timestamp = binding.isReady ? Math.max(timestamp, binding.updateTimestamp) : Infinity;
|
|
269
|
+
} else if (isBufferRangeBinding(binding)) {
|
|
270
|
+
timestamp = Math.max(
|
|
271
|
+
timestamp,
|
|
272
|
+
binding.buffer instanceof DynamicBuffer
|
|
273
|
+
? binding.buffer.updateTimestamp
|
|
274
|
+
: binding.buffer.updateTimestamp
|
|
275
|
+
);
|
|
220
276
|
}
|
|
221
277
|
}
|
|
222
278
|
return timestamp;
|
|
@@ -231,7 +287,7 @@ export class Material<
|
|
|
231
287
|
}
|
|
232
288
|
|
|
233
289
|
private _setOwnedBindings(
|
|
234
|
-
bindings: Partial<TBindings> | Record<string,
|
|
290
|
+
bindings: Partial<TBindings> | Record<string, MaterialBinding>
|
|
235
291
|
): boolean {
|
|
236
292
|
let didChange = false;
|
|
237
293
|
|
|
@@ -251,4 +307,44 @@ export class Material<
|
|
|
251
307
|
|
|
252
308
|
return didChange;
|
|
253
309
|
}
|
|
310
|
+
|
|
311
|
+
/** Invalidates the material bind-group key when deferred binding generations change. */
|
|
312
|
+
private _syncDynamicResourceGenerations(): void {
|
|
313
|
+
const nextGenerations: Record<string, number> = {};
|
|
314
|
+
let didChange = false;
|
|
315
|
+
|
|
316
|
+
for (const [name, binding] of Object.entries(this.bindings)) {
|
|
317
|
+
const dynamicResourceGeneration = getDynamicResourceGeneration(binding);
|
|
318
|
+
if (dynamicResourceGeneration !== null) {
|
|
319
|
+
nextGenerations[name] = dynamicResourceGeneration;
|
|
320
|
+
if (this._dynamicResourceGenerations[name] !== dynamicResourceGeneration) {
|
|
321
|
+
didChange = true;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
if (
|
|
327
|
+
Object.keys(nextGenerations).length !== Object.keys(this._dynamicResourceGenerations).length
|
|
328
|
+
) {
|
|
329
|
+
didChange = true;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
this._dynamicResourceGenerations = nextGenerations;
|
|
333
|
+
if (didChange) {
|
|
334
|
+
this._bindGroupCacheToken = {};
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Returns the generation tracked for one deferred material binding.
|
|
341
|
+
* @param binding Material binding candidate.
|
|
342
|
+
* @returns Deferred binding generation, or `null` for stable concrete bindings.
|
|
343
|
+
*/
|
|
344
|
+
function getDynamicResourceGeneration(binding: MaterialBinding): number | null {
|
|
345
|
+
if (isTextureBindingSource(binding)) {
|
|
346
|
+
return binding.generation;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
return getDynamicBufferFromBinding(binding)?.generation ?? null;
|
|
254
350
|
}
|