implemented basic shader expressions

This commit is contained in:
Dynamitos committed 2023-02-24 22:09:07 +01:00
1 parent 48fa098546
commit f46262b66e
67 files changed
+1390 -852

No files matched your search

+2
View File
@@ -13,6 +13,7 @@ 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;
@@ -22,6 +23,7 @@ public:
return texture;
}
private:
Array<uint8> textureData;
Gfx::PTexture texture;
friend class TextureLoader;
};