Haio 0.2.X
Homebrew Asset IO/CDN
Loading...
Searching...
No Matches
Haio::Image< P > Struct Template Reference

#include <haio_codec.hpp>

Public Attributes

int width = 0
int height = 0
std::vector< uint8_t > data

Static Public Attributes

static constexpr Color color = P

Detailed Description

template<Color P>
struct Haio::Image< P >

pixels in memory. it has a colour and no container, because it is not a file yet

Definition at line 36 of file haio_codec.hpp.

Member Data Documentation

◆ color

template<Color P>
Color Haio::Image< P >::color = P
staticconstexpr

Definition at line 37 of file haio_codec.hpp.

◆ data

template<Color P>
std::vector<uint8_t> Haio::Image< P >::data

Definition at line 40 of file haio_codec.hpp.

◆ height

template<Color P>
int Haio::Image< P >::height = 0

Definition at line 39 of file haio_codec.hpp.

◆ width

template<Color P>
int Haio::Image< P >::width = 0

Definition at line 38 of file haio_codec.hpp.


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