glCopyPixels function

void glCopyPixels(
  1. int x,
  2. int y,
  3. int width,
  4. int height,
  5. int type,
)
GLAPI void GLAPIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)

Implementation

void glCopyPixels(int x, int y, int width, int height, int type) {
  final glCopyPixelsLookupFunction = libGL.lookupFunction<
      Void Function(Int32 x, Int32 y, Uint32 width, Uint32 height, Uint32 type),
      void Function(
          int x, int y, int width, int height, int type)>('glCopyPixels');
  return glCopyPixelsLookupFunction(x, y, width, height, type);
}