glReadPixels function
void
glReadPixels()
GLAPI void GLAPIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels)
Implementation
void glReadPixels(int x, int y, int width, int height, int format, int type,
Pointer<Void> pixels) {
final glReadPixelsLookupFunction = libGL.lookupFunction<
Void Function(Int32 x, Int32 y, Uint32 width, Uint32 height,
Uint32 format, Uint32 type, Pointer<Void> pixels),
void Function(int x, int y, int width, int height, int format, int type,
Pointer<Void> pixels)>('glReadPixels');
return glReadPixelsLookupFunction(x, y, width, height, format, type, pixels);
}