GLShader.bindAttributeLocation

void bindAttributeLocation(uint index, string name)

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

Parameters

indexattribute index to set
namename of the attribute