uniform_matrix


Description:

public static void uniform_matrix (int uniform_no, int size, bool transpose, float[] value)

Changes the value of a matrix uniform, or uniform array in the currently used (see use ) shader program.

Note:

Use CoglSnippet api

The size parameter is used to determine the square size of the matrix.

Parameters:

uniform_no

the uniform to set.

size

Size of matrix.

transpose

Whether to transpose the matrix when setting the uniform.

value

the new value of the uniform.

count

Size of array of uniforms.