Skip to content

API Reference / @gtkx/gl / vertexAttrib4Nub

Function: vertexAttrib4Nub()

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

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

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

Released under the MPL-2.0 License.