Skip to content

API Reference / @gtkx/gl / vertexAttrib2s

Function: vertexAttrib2s()

vertexAttrib2s(index, x, y): void

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

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

Released under the MPL-2.0 License.