|
group2 0.1.0
CSE 125 Group 2
|
RGBA pixel data for one texture (decoded from embedded PNG/JPEG). More...
#include <ModelLoader.hpp>
Public Attributes | |
| std::vector< uint8_t > | pixels |
| Row-major RGBA, 4 bytes per pixel. | |
| int | width = 0 |
| int | height = 0 |
| bool | isSRGB = true |
| True for color textures (albedo, emissive); false for data (normal, MR). | |
RGBA pixel data for one texture (decoded from embedded PNG/JPEG).
| int TextureData::height = 0 |
| bool TextureData::isSRGB = true |
True for color textures (albedo, emissive); false for data (normal, MR).
| std::vector<uint8_t> TextureData::pixels |
Row-major RGBA, 4 bytes per pixel.
| int TextureData::width = 0 |