Method
ShellGLSLEffectset_uniform_float
Declaration [src]
void
shell_glsl_effect_set_uniform_float (
ShellGLSLEffect* effect,
int uniform,
int n_components,
int total_count,
const float* value
)
Parameters
uniform-
Type:
intThe uniform location (as returned by shell_glsl_effect_get_uniform_location()).
n_components-
Type:
intThe number of components in the uniform (eg. 3 for a vec3).
total_count-
Type:
intThe total number of floats in
value. value-
Type: An array of
floatThe array of floats to set
uniform.The length of the array is specified in the total_countargument.The data is owned by the caller of the method.