 | UniformGetValue Method (Int32, Int32, Int32) |
Return the value of a uniform variable containing three integer elements.
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void GetValue(
out int value0,
out int value1,
out int value2
)
Public Sub GetValue (
<OutAttribute> ByRef value0 As Integer,
<OutAttribute> ByRef value1 As Integer,
<OutAttribute> ByRef value2 As Integer
)
public:
void GetValue(
[OutAttribute] int% value0,
[OutAttribute] int% value1,
[OutAttribute] int% value2
)
member GetValue :
value0 : int byref *
value1 : int byref *
value2 : int byref -> unit
Parameters
- value0
- Type: SystemInt32
is set to first element. - value1
- Type: SystemInt32
is set to second element. - value2
- Type: SystemInt32
is set to third element.
ExceptionsException | Condition |
---|
GLException | InvalidOperation 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