void colorMask(bool red, bool green, bool blue, bool alpha){ startCheck('colorMask'); gl.glColorMask(red?1:0, green?1:0, blue?1:0, alpha?1:0); checkError('colorMask'); }