CPU-side image bytes and dimensions used as texture load input.
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.
int channels
Number of channels per pixel.
std::vector< unsigned char > imageData
Pixel bytes.
std::size_t operator()(const EngineCore::TextureLoadData &tex) const
Hashes dimensions, channel count, and image bytes.