Function: getShaderAttributeLocationMap()
getShaderAttributeLocationMap(
shaderLayout):Record<string,number|undefined>
Defined in: modules/core/src/adapter-utils/buffer-layout-utils.ts:51
Builds a lookup table from shader attribute name to source location.
Parameters
shaderLayout
Shader-side attribute declarations.
Returns
Record<string, number | undefined>
Attribute locations keyed by attribute name.