type-update

This commit is contained in:
alexei-zebra 2024-01-03 23:29:43 +03:00
parent e7e2c16ee6
commit 3c7f46987a
32 changed files with 161 additions and 153 deletions

View file

@ -12,11 +12,11 @@ public:
int width;
int height;
Texture(uint id, int width, int height);
Texture(ubyte* data, int width, int height, uint format);
Texture(u_char8* data, int width, int height, uint format);
~Texture();
void bind();
void reload(ubyte* data);
void reload(u_char8* data);
static Texture* from(const ImageData* image);
};