Method
ShellGLSLEffectset_uniform_matrix
Declaration [src]
void
shell_glsl_effect_set_uniform_matrix (
ShellGLSLEffect* effect,
int uniform,
gboolean transpose,
int dimensions,
int total_count,
const float* value
)
Parameters
uniform-
Type:
intThe uniform location (as returned by shell_glsl_effect_get_uniform_location()).
transpose-
Type:
gbooleanWhether to transpose the matrix.
dimensions-
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.