glColor4ub function opengl

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

Implementation

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