Skip to content

API Reference / @gtkx/gl / colorMaski

Function: colorMaski()

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

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

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

Released under the MPL-2.0 License.