Skip to content

API Reference / @gtkx/gl / vertexAttrib2s

Function: vertexAttrib2s() ​

vertexAttrib2s(index, x, y): void

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

void glVertexAttrib2s(GLuint index, GLshort x, GLshort y)

Provided by GL_VERSION_2_0. Also known as glVertexAttrib2sARB, glVertexAttrib2sNV. Vector form: vertexAttrib2sv.

Parameters ​

index ​

number

GLuint

x ​

number

GLshort

y ​

number

GLshort

Returns ​

void