Shader.getUniformLocation

Return uniform identificator (location)

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

Parameters

name string

Uniform name.

Meta