Mesh and Material Serializations

This commit is contained in:
Dynamitos committed 2023-11-01 13:38:49 +01:00
1 parent 4e7f4a56b8
commit 5a9cb13e74
20 files changed
+233 -111

No files matched your search

+4
View File
@@ -13,6 +13,10 @@ public:
Gfx::PDescriptorSet getDescriptorSet() const;
PMaterial getBaseMaterial() const { return baseMaterial; }
uint64 getId() const { return id; }
void save(ArchiveBuffer& buffer) const;
void load(ArchiveBuffer& buffer);
private:
Gfx::PGraphics graphics;
Array<uint8> uniformData;