Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::canvas::DecodedRaster Struct Reference

A decoded raster image. More...

#include <image_codecs.hpp>

Public Attributes

uint32_t width = 0
uint32_t height = 0
std::vector< uint8_t > rgba
 Tightly packed RGBA8. .size() == width * height * 4.

Detailed Description

A decoded raster image.

Pixels are RGBA8 in scanline order (row-major, top-down, no row padding — stride == width * 4).

Member Data Documentation

◆ height

uint32_t pulp::canvas::DecodedRaster::height = 0

◆ rgba

std::vector<uint8_t> pulp::canvas::DecodedRaster::rgba

Tightly packed RGBA8. .size() == width * height * 4.

◆ width

uint32_t pulp::canvas::DecodedRaster::width = 0

The documentation for this struct was generated from the following file: