Skip to content

API Reference / @gtkx/gl / vertexAttrib4f

Function: vertexAttrib4f() ​

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

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

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