Reducing memory usage

This commit is contained in:
Dynamitos
2024-08-07 21:19:33 +02:00
parent 819b541ff2
commit 64a26bfd57
37 changed files with 216 additions and 44 deletions
+4
View File
@@ -15,11 +15,15 @@ class Mesh {
VertexData* vertexData;
MeshId id;
uint64 vertexCount;
uint64 byteSize;
PMaterialInstanceAsset referencedMaterial;
Gfx::OBottomLevelAS blas;
void save(ArchiveBuffer& buffer) const;
void load(ArchiveBuffer& buffer);
uint64 getCPUSize() const;
uint64 getGPUSize() const;
private:
};
DEFINE_REF(Mesh)