|
Haio 0.2.X
Homebrew Asset IO/CDN
|
#include <header.hpp>
Public Member Functions | |
| int | kind () const |
| bool | rle () const |
| size_t | unit () const |
| size_t | pixels () const |
| int | attributeBits () const |
| bool | flipX () const |
| bool | flipY () const |
Public Attributes | |
| uint8_t | idLength = 0 |
| uint8_t | mapType = 0 |
| uint8_t | imageType = 0 |
| uint16_t | mapFirst = 0 |
| uint16_t | mapCount = 0 |
| uint8_t | mapBits = 0 |
| uint16_t | width = 0 |
| uint16_t | height = 0 |
| uint8_t | depth = 0 |
| uint8_t | descriptor = 0 |
| size_t | mapOffset = 0 |
| size_t | dataOffset = 0 |
Definition at line 37 of file header.hpp.
|
inline |
how many of the sixteen bits are alpha, which for this format is a claim rather than a layout: the bit is in the same place either way, and this says whether anybody meant anything by it.
Definition at line 65 of file header.hpp.
|
inline |
the origin bits, which say where the first stored pixel belongs on screen
Definition at line 68 of file header.hpp.
|
inline |
Definition at line 69 of file header.hpp.
|
inline |
mapped, truecolor or grey, with the run length flavours folded onto their own
Definition at line 53 of file header.hpp.
|
inline |
Definition at line 58 of file header.hpp.
|
inline |
Definition at line 54 of file header.hpp.
|
inline |
one stored unit: a colour for a truecolor picture, an index for a mapped one
Definition at line 57 of file header.hpp.
| size_t Haio::Codecs::Tga::Header::dataOffset = 0 |
the pixels, whatever came before them
Definition at line 50 of file header.hpp.
| uint8_t Haio::Codecs::Tga::Header::depth = 0 |
Definition at line 46 of file header.hpp.
| uint8_t Haio::Codecs::Tga::Header::descriptor = 0 |
Definition at line 47 of file header.hpp.
| uint16_t Haio::Codecs::Tga::Header::height = 0 |
Definition at line 45 of file header.hpp.
| uint8_t Haio::Codecs::Tga::Header::idLength = 0 |
Definition at line 38 of file header.hpp.
| uint8_t Haio::Codecs::Tga::Header::imageType = 0 |
Definition at line 40 of file header.hpp.
| uint8_t Haio::Codecs::Tga::Header::mapBits = 0 |
Definition at line 43 of file header.hpp.
| uint16_t Haio::Codecs::Tga::Header::mapCount = 0 |
Definition at line 42 of file header.hpp.
| uint16_t Haio::Codecs::Tga::Header::mapFirst = 0 |
Definition at line 41 of file header.hpp.
| size_t Haio::Codecs::Tga::Header::mapOffset = 0 |
the colour map, when there is one
Definition at line 49 of file header.hpp.
| uint8_t Haio::Codecs::Tga::Header::mapType = 0 |
Definition at line 39 of file header.hpp.
| uint16_t Haio::Codecs::Tga::Header::width = 0 |
Definition at line 44 of file header.hpp.