More CMake bullshit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#ifndef Image_h
|
||||
#define Image_h
|
||||
|
||||
struct Image
|
||||
{
|
||||
enum class ImageFormat
|
||||
{
|
||||
Unknown,
|
||||
RGB,
|
||||
RGBA
|
||||
};
|
||||
|
||||
unsigned int Width = 0;
|
||||
unsigned int Height = 0;
|
||||
ImageFormat Format = ImageFormat::Unknown;
|
||||
unsigned char* Data = nullptr;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -47,9 +47,9 @@ public:
|
||||
struct MaterialGroup
|
||||
{
|
||||
float Shininess;
|
||||
std::shared_ptr<dd::Texture> Texture;
|
||||
std::shared_ptr<dd::Texture> NormalMap;
|
||||
std::shared_ptr<dd::Texture> SpecularMap;
|
||||
std::shared_ptr<::Texture> Texture;
|
||||
std::shared_ptr<::Texture> NormalMap;
|
||||
std::shared_ptr<::Texture> SpecularMap;
|
||||
unsigned int StartIndex;
|
||||
unsigned int EndIndex;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user