Skip to content

API Reference / @gtkx/gl / vertexAttrib1s

Function: vertexAttrib1s() ​

vertexAttrib1s(index, x): void

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

void glVertexAttrib1s(GLuint index, GLshort x)

Provided by GL_VERSION_2_0. Also known as glVertexAttrib1sARB, glVertexAttrib1sNV. Vector form: vertexAttrib1sv.

Parameters ​

index ​

number

GLuint

x ​

number

GLshort

Returns ​

void