glColorMask function opengl

void glColorMask(
  1. int red,
  2. int green,
  3. int blue,
  4. int alpha,
)
GLAPI void GLAPIENTRY glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )

Implementation

void glColorMask(int red, int green, int blue, int alpha) {
  final glColorMaskAsFunction = _glColorMask
      .cast<
        NativeFunction<
          Void Function(Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha)
        >
      >()
      .asFunction<void Function(int red, int green, int blue, int alpha)>();
  return glColorMaskAsFunction(red, green, blue, alpha);
}