mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
refactor + auto max atlas resolution
This commit is contained in:
parent
befc9cf09c
commit
eb70e1c0df
7 changed files with 46 additions and 12 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue