MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / removeAggregate

Method removeAggregate

physx/source/physx/src/buffering/ScbScene.cpp:696–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

694
695
696void Scb::Scene::removeAggregate(Scb::Aggregate& agg)
697{
698 if (!mIsBuffering)
699 {
700 mScene.deleteAggregate(agg.getAggregateID());
701 agg.resetControl(ControlState::eNOT_IN_SCENE);
702 agg.setScbScene(NULL);
703#if PX_SUPPORT_PVD
704 mScenePvdClient.releasePvdInstance(&agg);
705#endif
706 }
707 else
708 {
709 mAggregateManager.scheduleForRemove(agg);
710 }
711}
712
713
714void Scb::Scene::addMaterial(const Sc::MaterialCore& material)

Callers

nothing calls this directly

Calls 4

deleteAggregateMethod · 0.80
getAggregateIDMethod · 0.80
scheduleForRemoveMethod · 0.80
releasePvdInstanceMethod · 0.45

Tested by

no test coverage detected