Molybden API
Loading...
Searching...
No Matches
molybden::Bitmap Struct Reference

A binary image in the BGRA format. More...

#include <bitmap.hpp>

Public Attributes

Size size
 The size of this bitmap instance.
 
std::vector< uint8_t > pixels
 A byte array that contains the image pixels.
 

Detailed Description

A binary image in the BGRA format.

Member Data Documentation

◆ pixels

std::vector<uint8_t> molybden::Bitmap::pixels

A byte array that contains the image pixels.

Each pixel allocates 4 bytes in the BGRA format with pre-multiplied alpha.

◆ size

Size molybden::Bitmap::size

The size of this bitmap instance.

The size can be empty.


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