set_uniform_value


Description:

public void set_uniform_value (string name, Value value)

Sets value as the payload for the uniform name inside the shader effect

The Type of the value must be one of: g_type_int, for a single integer value; g_type_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 g_type_double for compatibility with other languages than C.

Parameters:

this

a ShaderEffect

name

the name of the uniform to set

value

a Value with the value of the uniform to set