2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-12 02:15:07 +00:00

Only allocate particle buffers as needed, greatly improves performance and removes certain hacks

This commit is contained in:
2021-04-18 16:53:51 -07:00
parent 1039424737
commit 1654333a16
4 changed files with 62 additions and 29 deletions

View File

@@ -134,6 +134,7 @@ private:
void AccumulateBounds(const zeus::CVector3f& pos, float size);
void _RecreatePipelines();
public:
explicit CElementGen(TToken<CGenDescription> gen, EModelOrientationType orientType = EModelOrientationType::Normal,
EOptionalSystemFlags flags = EOptionalSystemFlags::One);