Skip to content

API Reference / @gtkx/gl / uniformMatrix2fv

Function: uniformMatrix2fv()

uniformMatrix2fv(location, count, transpose, value): void

Defined in: generated/commands.d.ts:6411

void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)

Provided by GL_VERSION_2_0. Also known as glUniformMatrix2fvARB.

Parameters

location

number

GLint

count

number

GLsizei

transpose

boolean

boolean

value

number[] | Float32Array<ArrayBufferLike>

GLfloat[] | Float32Array, length count*4, kind Matrix2x2. This parameter represents a 2x2 matrix.

Returns

void

Released under the MPL-2.0 License.