Click or drag to resize

UniformGetValue Method (Int32, Int32)

Return the value of a uniform variable containing two integer elements.

Namespace:  Ooogles
Assembly:  Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void GetValue(
	out int value0,
	out int value1
)

Parameters

value0
Type: SystemInt32
is set to first element.
value1
Type: SystemInt32
is set to second element.
Exceptions
ExceptionCondition
GLExceptionInvalidOperation if the program is not successfully linked.
Remarks
The type of the uniform variable determines the type of values that are returned. It is the responsibility of the caller to make sure that the type of the parameters matches the type of the uniform variable in the shader.

The uniform variable values can only be queried after a link if the link was successful.

OpenGL API: glGetUniform

See Also