Sets value
as the payload for the uniform name
inside the shader effect
The Type of the value
must be one of: INT, for a single integer
value; FLOAT, for a single floating point value; CLUTTER_TYPE_SHADER_INT
, for an array of
integer values; CLUTTER_TYPE_SHADER_FLOAT
, for an array of floating point values; and CLUTTER_TYPE_SHADER_MATRIX
, for a matrix of floating point values. It also accepts DOUBLE for compatibility with other languages than
C.
this | |
name |
the name of the uniform to set |
value |
a Value with the value of the uniform to set |