Topaz 5.0
Topaz Game Engine
Loading...
Searching...
No Matches
tz::io::image_header Struct Reference

Description

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.
 

Member Data Documentation

◆ width

unsigned int tz::io::image_header::width = 0u

Width of the image, in pixels.

◆ height

unsigned int tz::io::image_header::height = 0u

Height of the image, in pixels.

◆ data_size_bytes

std::size_t tz::io::image_header::data_size_bytes = 0u

Size of the total image data, in bytes.