Function: resolveLogicalAttributeMappings()
resolveLogicalAttributeMappings(
shaderLayout,bufferLayout,options?):LogicalAttributeMapping[]
Defined in: modules/core/src/adapter-utils/buffer-layout-utils.ts:113
Resolves backend-agnostic logical attribute mappings from a shader layout and buffer layout.
Parameters
shaderLayout
Shader-side attribute declarations.
bufferLayout
Buffer-to-attribute mapping declarations.
options?
ResolveLogicalAttributeMappingsOptions
Optional warning controls.
Returns
One logical mapping per shader attribute, ordered by shader location.