Skip to content

API Reference / @gtkx/gl / vertexAttrib2fv

Function: vertexAttrib2fv() ​

vertexAttrib2fv(index, v): void

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

void glVertexAttrib2fv(GLuint index, const GLfloat *v)

Provided by GL_VERSION_2_0. Also known as glVertexAttrib2fvARB, glVertexAttrib2fvNV. GLX render opcode 4194.

Parameters ​

index ​

number

GLuint

v ​

number[] | Float32Array<ArrayBufferLike>

GLfloat[] | Float32Array, length 2

Returns ​

void