Skip to content

API Reference / @gtkx/gl / vertexAttrib2f

Function: vertexAttrib2f()

vertexAttrib2f(index, x, y): void

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

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

Provided by GL_VERSION_2_0.

Parameters

index

number

GLuint

x

number

GLfloat

y

number

GLfloat

Returns

void

See

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

Released under the MPL-2.0 License.