Skip to content

API Reference / @gtkx/gl / vertexAttrib1f

Function: vertexAttrib1f()

vertexAttrib1f(index, x): void

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

void glVertexAttrib1f(GLuint index, GLfloat x)

Provided by GL_VERSION_2_0.

Parameters

index

number

GLuint

x

number

GLfloat

Returns

void

See

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

Released under the MPL-2.0 License.