Reducing memory usage

This commit is contained in:
Dynamitos committed 2024-08-07 21:19:33 +02:00
1 parent 819b541ff2
commit 64a26bfd57
37 files changed
+216 -44

No files matched your search

+2
View File
@@ -16,6 +16,8 @@ class Asset {
virtual void save(ArchiveBuffer& buffer) const = 0;
virtual void load(ArchiveBuffer& buffer) = 0;
constexpr uint64 getSize() const { return byteSize; }
bool isModified() const;
// returns the assets name
std::string getName() const;