Skip to content

API Reference / @gtkx/gl / vertexAttrib1f

Function: vertexAttrib1f() ​

vertexAttrib1f(index, x): void

Defined in: packages/gl/src/generated/commands.ts:8588

void glVertexAttrib1f(GLuint index, GLfloat x)

Provided by GL_VERSION_2_0. Also known as glVertexAttrib1fARB, glVertexAttrib1fNV. Vector form: vertexAttrib1fv.

Parameters ​

index ​

number

GLuint

x ​

number

GLfloat

Returns ​

void