GLShader.bindAttributeLocation

Bind attribute name to the specified location index using glBindAttributeLocation().

class GLShader
void
bindAttributeLocation
(
uint index
,
string name
)

Parameters

index uint

attribute index to set

name string

name of the attribute