Topaz 5.0
Topaz Game Engine
|
Describes basic information about an image.
Note that all images loaded are 4-component RGBA with 1 byte ber component.
#include "image.hpp"
Public Attributes | |
unsigned int | width = 0u |
Width of the image, in pixels. | |
unsigned int | height = 0u |
Height of the image, in pixels. | |
std::size_t | data_size_bytes = 0u |
Size of the total image data, in bytes. | |
unsigned int tz::io::image_header::width = 0u |
Width of the image, in pixels.
unsigned int tz::io::image_header::height = 0u |
Height of the image, in pixels.
std::size_t tz::io::image_header::data_size_bytes = 0u |
Size of the total image data, in bytes.