Skip to content

API Reference / @gtkx/gl / vertexAttrib2sv

Function: vertexAttrib2sv()

vertexAttrib2sv(index, v): void

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

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

Released under the MPL-2.0 License.