Renderer_readPixels function
- @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(
- Pointer<TRenderer> tRenderer,
- int width,
- int height,
- int xOffset,
- int yOffset,
- Pointer<TRenderTarget> tRenderTarget,
- int tPixelBufferFormat,
- int tPixelDataType,
- Pointer<Uint8> out,
- 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,
);