Decent asset loading

This commit is contained in:
Dynamitos committed 2023-07-31 21:43:20 +02:00
1 parent 1668df467a
commit 4ab924f251
12 files changed
+94 -74

No files matched your search

-2
View File
@@ -13,7 +13,6 @@ public:
virtual ~TextureAsset();
virtual void save(ArchiveBuffer& buffer) const override;
virtual void load(ArchiveBuffer& buffer) override;
void createFromMemory(Array<uint8> memory, Gfx::PGraphics graphics);
void setTexture(Gfx::PTexture _texture)
{
texture = _texture;
@@ -23,7 +22,6 @@ public:
return texture;
}
private:
Array<uint8> textureData;
Gfx::PTexture texture;
friend class TextureLoader;
};