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

Method fetchResultsFinish

physx/source/physx/src/NpScene.cpp:2232–2254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2230}
2231
2232void NpScene::fetchResultsFinish(PxU32* errorState)
2233{
2234 {
2235 PX_SIMD_GUARD;
2236 PX_PROFILE_STOP_CROSSTHREAD("Basic.processCallbacks", getContextId());
2237 PX_PROFILE_ZONE("Basic.fetchResultsFinish", getContextId());
2238
2239 mBetweenFetchResults = false;
2240 NP_WRITE_CHECK(this);
2241
2242 fetchResultsPostContactCallbacks();
2243
2244 if (errorState)
2245 *errorState = 0;
2246
2247 PX_PROFILE_STOP_CROSSTHREAD("Basic.fetchResults", getContextId());
2248 PX_PROFILE_STOP_CROSSTHREAD("Basic.simulate", getContextId());
2249 }
2250
2251#if PX_SUPPORT_PVD
2252 mScene.getScenePvdClient().frameEnd();
2253#endif
2254}
2255
2256void NpScene::flushSimulation(bool sendPendingReports)
2257{

Callers 1

stepPhysicsFunction · 0.80

Calls 3

getScenePvdClientMethod · 0.80
getContextIdFunction · 0.50
frameEndMethod · 0.45

Tested by

no test coverage detected