Shader.getAttributeLayouts

Returns the attribute layouts parsed from the tokens in the shader source.

@return A map of the attribute name to the layout index.

class Shader
abstract
uint[string]
getAttributeLayouts
()

Meta