Skip to content

API Reference / @gtkx/gl / vertexAttrib1sv

Function: vertexAttrib1sv() ​

vertexAttrib1sv(index, v): void

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

void glVertexAttrib1sv(GLuint index, const GLshort *v)

Provided by GL_VERSION_2_0. Also known as glVertexAttrib1svARB, glVertexAttrib1svNV. GLX render opcode 4189.

Parameters ​

index ​

number

GLuint

v ​

number[] | Int16Array<ArrayBufferLike>

GLshort[] | Int16Array, length 1

Returns ​

void