glReadPixels method

void glReadPixels(
  1. int x,
  2. int y,
  3. int width,
  4. int height,
  5. int format,
  6. int type,
  7. Pointer<Void> pixels,
)

Implementation

void glReadPixels(
  int x,
  int y,
  int width,
  int height,
  int format,
  int type,
  ffi.Pointer<ffi.Void> pixels,
) {
  return (_glReadPixels ??= _dylib
      .lookupFunction<_c_glReadPixels, _dart_glReadPixels>('glReadPixels'))(
    x,
    y,
    width,
    height,
    format,
    type,
    pixels,
  );
}