Skip to content

API Reference / @gtkx/gl / vertexAttrib4ubv

Function: vertexAttrib4ubv() ​

vertexAttrib4ubv(index, v): void

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

void glVertexAttrib4ubv(GLuint index, const GLubyte *v)

Provided by GL_VERSION_2_0. Also known as glVertexAttrib4ubvARB.

Parameters ​

index ​

number

GLuint

v ​

number[] | Uint8Array<ArrayBufferLike>

GLubyte[] | Uint8Array, length 4

Returns ​

void