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

Metal CElementGen shaders implemented

This commit is contained in:
Jack Andersen
2016-02-16 12:25:17 -10:00
parent c51b1face6
commit 468db3b203
6 changed files with 182 additions and 112 deletions

View File

@@ -78,12 +78,11 @@ void ViewManager::DismissSplash()
void ViewManager::BuildTestPART(pshag::IObjectStore& objStore)
{
m_partGenDesc = objStore.GetObj({HECL::FOURCC('PART'), 0x36EA6C48});
m_partGenDesc = objStore.GetObj({HECL::FOURCC('PART'), 0x273375E3});
m_partGen.reset(new pshag::CElementGen(m_partGenDesc,
pshag::CElementGen::EModelOrientationType::Normal,
pshag::CElementGen::EOptionalSystemFlags::None));
m_particleView.reset(new ParticleView(*this, m_viewResources, *m_rootView));
m_rootView->accessContentViews().clear();
m_rootView->accessContentViews().push_back(m_particleView.get());
}