colorMaskiOES method

void colorMaskiOES(
  1. GLuint buf,
  2. GLboolean r,
  3. GLboolean g,
  4. GLboolean b,
  5. GLboolean a,
)

The colorMaskiOES() method of the OES_draw_buffers_indexed WebGL extension sets which color components to enable or to disable when drawing or rendering for a particular draw buffer. It's the indexed version of WebGL 1's WebGLRenderingContext.colorMask method.

Implementation

external void colorMaskiOES(
  GLuint buf,
  GLboolean r,
  GLboolean g,
  GLboolean b,
  GLboolean a,
);