Skip to content

API Reference / @gtkx/gl / vertexAttrib1f

Function: vertexAttrib1f()

vertexAttrib1f(index, x): void

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

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

Released under the MPL-2.0 License.