This commit is contained in:
2016-03-02 18:06:20 +01:00
parent edf481b4d7
commit ffa9d7e607
14 changed files with 306 additions and 19 deletions
+5
View File
@@ -3,6 +3,8 @@
struct Image
{
virtual ~Image() { }
enum class ImageFormat
{
Unknown,
@@ -13,7 +15,10 @@ struct Image
unsigned int Width = 0;
unsigned int Height = 0;
ImageFormat Format = ImageFormat::Unknown;
unsigned int MipMapLevels = 0;
bool Compressed = false;
unsigned char* Data = nullptr;
std::size_t ByteSize = 0;
};
#endif