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:
int
The uniform location (as returned by shell_glsl_effect_get_uniform_location())
transpose
-
Type:
gboolean
Whether to transpose the matrix.
dimensions
-
Type:
int
The number of components in the uniform (eg. 3 for a vec3)
total_count
-
Type:
int
The total number of floats in
value
. value
-
Type: An array of
float
The array of floats to set
uniform
.The length of the array is specified in the total_count
argument.The data is owned by the caller of the method.