Skip to content

API Reference / @gtkx/gl / vertexAttrib1s

Function: vertexAttrib1s()

vertexAttrib1s(index, x): void

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

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

Released under the MPL-2.0 License.