Struct Decoded

Struct Documentation

struct Decoded

Owned top-to-bottom RGBA8 pixels, independent of any graphics context.

Four bytes per pixel; aggregate construction does not validate byte count.

Public Members

CE::Rendering::Geometry::PixelSize size

Pixel width and height; uploads require nonzero dimensions.

std::vector<unsigned char> rgba

Owned interleaved red, green, blue and alpha bytes, row by row.