Skip to content

API Reference / @gtkx/gl / vertexAttrib1sv

Function: vertexAttrib1sv() ​

vertexAttrib1sv(index, v): void

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

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