nCine::PngRgbaImage struct

An image as PngCodec::DecodeRgba() reads it, always RGBA, four bytes per pixel.

Constructors, destructors, conversion operators

operator bool() const explicit
Returns true if the image holds pixels.

Public variables

std::int32_t Width
Width in pixels.
std::int32_t Height
Height in pixels.
std::unique_ptr<std::uint8_t[]> Pixels
RGBA pixels row by row, in this order of bytes on every machine.