Skip to content

API Reference / @gtkx/gl / uniformMatrix4fv

Function: uniformMatrix4fv()

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

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

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

Provided by GL_VERSION_2_0. Also known as glUniformMatrix4fvARB.

Parameters

location

number

GLint

count

number

GLsizei

transpose

boolean

boolean

value

number[] | Float32Array<ArrayBufferLike>

GLfloat[] | Float32Array, length count*16, kind Matrix4x4. This parameter represents a 4x4 matrix.

Returns

void

Released under the MPL-2.0 License.