Skip to content

API Reference / @gtkx/gl / uniformMatrix2dv

Function: uniformMatrix2dv() ​

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

Defined in: packages/gl/src/generated/commands.ts:8043

void glUniformMatrix2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)

Provided by GL_VERSION_4_0. Registry note: Reuse ARB_gpu_shader_fp64 Also provided by the GL_ARB_gpu_shader_fp64 extension.

Parameters ​

location ​

number

GLint

count ​

number

GLsizei

transpose ​

boolean

boolean

value ​

number[] | Float64Array<ArrayBufferLike>

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

Returns ​

void