|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
CPU-side image bytes and dimensions used as texture load input. More...
#include <TextureLoadData.h>
Public Member Functions | |
| TextureLoadData (std::vector< unsigned char > imageData, int width, int height, int channels) | |
| Creates texture load data by taking ownership of image bytes. | |
| bool | operator== (const TextureLoadData &other) const |
| Compares dimensions, channel count, and image bytes. | |
Public Attributes | |
| int | width |
| Image width in pixels. | |
| int | height |
| Image height in pixels. | |
| int | channels |
| Number of channels per pixel. | |
| std::vector< unsigned char > | imageData |
| Pixel bytes. | |
CPU-side image bytes and dimensions used as texture load input.
Definition at line 9 of file TextureLoadData.h.
|
inline |
Creates texture load data by taking ownership of image bytes.
| imageData | Pixel bytes in row-major order. |
| width | Image width in pixels. |
| height | Image height in pixels. |
| channels | Number of channels per pixel. |
Definition at line 17 of file TextureLoadData.h.
References channels, height, imageData, and width.
Referenced by operator==().
|
inline |
Compares dimensions, channel count, and image bytes.
Definition at line 34 of file TextureLoadData.h.
References channels, height, imageData, TextureLoadData(), and width.
| int EngineCore::TextureLoadData::channels |
Number of channels per pixel.
Definition at line 28 of file TextureLoadData.h.
Referenced by std::hash< EngineCore::TextureLoadData >::operator()(), operator==(), and TextureLoadData().
| int EngineCore::TextureLoadData::height |
Image height in pixels.
Definition at line 27 of file TextureLoadData.h.
Referenced by std::hash< EngineCore::TextureLoadData >::operator()(), operator==(), and TextureLoadData().
| std::vector<unsigned char> EngineCore::TextureLoadData::imageData |
Pixel bytes.
Definition at line 29 of file TextureLoadData.h.
Referenced by std::hash< EngineCore::TextureLoadData >::operator()(), operator==(), and TextureLoadData().
| int EngineCore::TextureLoadData::width |
Image width in pixels.
Definition at line 26 of file TextureLoadData.h.
Referenced by std::hash< EngineCore::TextureLoadData >::operator()(), operator==(), and TextureLoadData().