Skip to content

API Reference / @gtkx/gl / vertexAttrib4s

Function: vertexAttrib4s() ​

vertexAttrib4s(index, x, y, z, w): void

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

void glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w)

Provided by GL_VERSION_2_0. Also known as glVertexAttrib4sARB, glVertexAttrib4sNV. Vector form: vertexAttrib4sv.

Parameters ​

index ​

number

GLuint

x ​

number

GLshort

y ​

number

GLshort

z ​

number

GLshort

w ​

number

GLshort

Returns ​

void