Skip to content

API Reference / @gtkx/gl / vertexAttrib4f

Function: vertexAttrib4f()

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

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

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

Provided by GL_VERSION_2_0. Also known as glVertexAttrib4fARB, glVertexAttrib4fNV. Vector form: vertexAttrib4fv.

Parameters

index

number

GLuint

x

number

GLfloat

y

number

GLfloat

z

number

GLfloat

w

number

GLfloat

Returns

void

Released under the MPL-2.0 License.