Basic mutability framework

This commit is contained in:
Dynamitos committed 2022-01-12 14:40:26 +01:00
1 parent b2718dde70
commit 6d48267ec2
72 files changed
+1781 -1341

No files matched your search

+5 -1
View File
@@ -34,7 +34,7 @@ public:
};
struct MeshBatch
{
Array<MeshBatchElement> elements;
std::vector<MeshBatchElement> elements;
uint8 useReverseCulling : 1;
uint8 isBackfaceCullingDisabled : 1;
@@ -68,6 +68,10 @@ struct MeshBatch
}
MeshBatch();
MeshBatch(const MeshBatch& other) = default;
MeshBatch(MeshBatch&& other) = default;
MeshBatch& operator=(const MeshBatch& other) = default;
MeshBatch& operator=(MeshBatch&& other) = default;
};
DECLARE_REF(PrimitiveComponent)
struct StaticMeshBatch : public MeshBatch