attribute-index ( program-instance attribute-name -- index )


Vocabulary
gpu.shaders

Inputs
program-instancea program-instance
attribute-namea string


Outputs
indexan integer


Word description
Returns the numeric index of the vertex attribute named attribute-name in program-instance.

Definition