glDrawPixels function

void glDrawPixels(
  1. int width,
  2. int height,
  3. int format,
  4. int type,
  5. Pointer<Void> pixels,
)
GLAPI void GLAPIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)

Implementation

void glDrawPixels(
    int width, int height, int format, int type, Pointer<Void> pixels) {
  final glDrawPixelsLookupFunction = libGL.lookupFunction<
      Void Function(Uint32 width, Uint32 height, Uint32 format, Uint32 type,
          Pointer<Void> pixels),
      void Function(int width, int height, int format, int type,
          Pointer<Void> pixels)>('glDrawPixels');
  return glDrawPixelsLookupFunction(width, height, format, type, pixels);
}