Skip to content

API Reference / @gtkx/gl / vertexAttrib4f

Function: vertexAttrib4f()

vertexAttrib4f(index, x, y, z, w): void

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

void glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)

Provided by GL_VERSION_2_0.

Parameters

index

number

GLuint

x

number

GLfloat

y

number

GLfloat

z

number

GLfloat

w

number

GLfloat

Returns

void

See

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

Released under the MPL-2.0 License.