![]() |
gdk-graphics
1b6d84e044c2c953fd7c9501e628a67e80f4da0d
|
pod struct representing a view on decoded image data More...
#include <texture.h>
Public Attributes | |
size_t | width |
number of texels wide | |
size_t | height |
number of texels tall | |
data_format | format |
format of the data | |
std::byte * | data |
pod struct representing a view on decoded image data
the purpose of this type is in being used to construct a texture object. the user must ensure the data is not cleaned up until sometime after it has been used.
std::byte* gdk::texture::image_data_2d_view::data |
raw image data non-owning pointer