Shader.getAttribLocation

Returns the location of an attribute variable

class Shader(int type)
@trusted
static if(isShaderProgram!Type)
int
getAttribLocation
(
string name
)

Parameters

name string

Points to a null terminated string containing the name of the attribute variable whose location is to be queried.

See Also

Meta