Renderer_readPixels function

  1. @Native<Void Function(Pointer<TRenderer>, Uint32, Uint32, Uint32, Uint32, Pointer<TRenderTarget>, UnsignedInt, UnsignedInt, Pointer<Uint8>, Size)>(ffi.Pointer<TRenderer>, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Pointer<TRenderTarget>, ffi.UnsignedInt, ffi.UnsignedInt, ffi.Pointer<ffi.Uint8>, ffi.Size)>(isLeaf: true)
void Renderer_readPixels(
  1. Pointer<TRenderer> tRenderer,
  2. int width,
  3. int height,
  4. int xOffset,
  5. int yOffset,
  6. Pointer<TRenderTarget> tRenderTarget,
  7. int tPixelBufferFormat,
  8. int tPixelDataType,
  9. Pointer<Uint8> out,
  10. int outLength,
)

Implementation

@ffi.Native<
    ffi.Void Function(
        ffi.Pointer<TRenderer>,
        ffi.Uint32,
        ffi.Uint32,
        ffi.Uint32,
        ffi.Uint32,
        ffi.Pointer<TRenderTarget>,
        ffi.UnsignedInt,
        ffi.UnsignedInt,
        ffi.Pointer<ffi.Uint8>,
        ffi.Size)>(isLeaf: true)
external void Renderer_readPixels(
  ffi.Pointer<TRenderer> tRenderer,
  int width,
  int height,
  int xOffset,
  int yOffset,
  ffi.Pointer<TRenderTarget> tRenderTarget,
  int tPixelBufferFormat,
  int tPixelDataType,
  ffi.Pointer<ffi.Uint8> out,
  int outLength,
);