Skip to content

API Reference / @gtkx/gl / vertexAttrib2f

Function: vertexAttrib2f()

vertexAttrib2f(index, x, y): void

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

void glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y)

Provided by GL_VERSION_2_0. Also known as glVertexAttrib2fARB, glVertexAttrib2fNV. Vector form: vertexAttrib2fv.

Parameters

index

number

GLuint

x

number

GLfloat

y

number

GLfloat

Returns

void

Released under the MPL-2.0 License.