refactor + auto max atlas resolution

This commit is contained in:
MihailRis 2024-04-10 18:18:55 +03:00
parent befc9cf09c
commit eb70e1c0df
7 changed files with 46 additions and 12 deletions

View file

@ -11,6 +11,8 @@ protected:
uint width;
uint height;
public:
static uint MAX_RESOLUTION;
Texture(uint id, uint width, uint height);
Texture(ubyte* data, uint width, uint height, ImageFormat format);
virtual ~Texture();