Click or drag to resize
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
C#
public int GetUniformLocation(
	string name
)

Parameters

name
Type: SystemString
Name of the variable declared in the shader code.

Return Value

Type: Int32
Integer to uniquely identify the uniform variable from outside the shader.
See Also