Skip to content

API Reference / @gtkx/gl / vertexAttrib4Nub

Function: vertexAttrib4Nub() ​

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

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

void glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w)

Provided by GL_VERSION_2_0. Also known as glVertexAttrib4NubARB, glVertexAttrib4ubNV.

Parameters ​

index ​

number

GLuint

x ​

number

GLubyte

y ​

number

GLubyte

z ​

number

GLubyte

w ​

number

GLubyte

Returns ​

void