Function: getLogicalBufferSlots()
getLogicalBufferSlots(
shaderLayout,bufferLayout):Record<string,number>
Defined in: modules/core/src/adapter-utils/buffer-layout-utils.ts:82
Maps logical buffer names to the vertex-array slots implied by a buffer layout.
Parameters
shaderLayout
Shader-side attribute declarations.
bufferLayout
Buffer-to-attribute mapping declarations.
Returns
Record<string, number>
Vertex-array slot indexes keyed by logical buffer name.