Skip to content

API Reference / @gtkx/gl / colorMaski

Function: colorMaski() ​

colorMaski(index, r, g, b, a): void

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

void glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a)

Provided by GL_VERSION_3_0. Also known as glColorMaskiEXT, glColorMaskIndexedEXT, glColorMaskiOES.

Parameters ​

index ​

number

GLuint

r ​

boolean

boolean

g ​

boolean

boolean

b ​

boolean

boolean

a ​

boolean

boolean

Returns ​

void