ShaderProgramGetUniformLocation Method |
Uses the OpenGL glGetUniformLocation function to determine how a uniform object declared in the code can be located.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public int GetUniformLocation(
string name
)
Parameters
- name
- Type: SystemString
Name of the variable declared in the shader code.
Return Value
Type:
Int32Integer to uniquely identify the uniform variable from outside the shader.
See Also