Skip to content

API Reference / @gtkx/gl / vertexAttrib2s

Function: vertexAttrib2s()

vertexAttrib2s(index, x, y): void

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

void glVertexAttrib2s(GLuint index, GLshort x, GLshort y)

Provided by GL_VERSION_2_0.

Parameters

index

number

GLuint

x

number

GLshort

y

number

GLshort

Returns

void

See

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glVertexAttrib2s.xhtml

Released under the MPL-2.0 License.