Skip to content

API Reference / @gtkx/gl / vertexAttrib4s

Function: vertexAttrib4s()

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

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

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

Released under the MPL-2.0 License.