Method
CoglProgramset_uniform_matrix
deprecated: 1.16
Declaration [src]
void
cogl_program_set_uniform_matrix (
  CoglProgram* program,
  int uniform_location,
  int dimensions,
  int count,
  gboolean transpose,
  const float* value
)
Description [src]
Changes the value of a matrix uniform, or uniform array in the
given linked program.
Deprecated since: 1.16
Use CoglSnippet api instead.
Parameters
- uniform_location
- 
            Type: intThe uniform location retrieved from cogl_program_get_uniform_location().
- dimensions
- 
            Type: intThe dimensions of the matrix. So for for example pass 2 for a 2x2 matrix or 3 for 3x3. 
- count
- 
            Type: intFor uniform arrays this is the array length otherwise just pass 1. 
- transpose
- 
            Type: gbooleanWhether to transpose the matrix when setting the uniform. 
- value
- 
            Type: An array of floatThe new value of the uniform. The length of the array is specified in the countargument.The data is owned by the caller of the method.