Skip to content

API Reference / @gtkx/gl / vertexAttrib2sv

Function: vertexAttrib2sv() ​

vertexAttrib2sv(index, v): void

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

void glVertexAttrib2sv(GLuint index, const GLshort *v)

Provided by GL_VERSION_2_0. Also known as glVertexAttrib2svARB, glVertexAttrib2svNV. GLX render opcode 4190.

Parameters ​

index ​

number

GLuint

v ​

number[] | Int16Array<ArrayBufferLike>

GLshort[] | Int16Array, length 2

Returns ​

void