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

Method resetDependencies

physx/source/task/src/TaskManager.cpp:205–213  ·  view source on GitHub ↗

* Called by the owner (Scene) at the start of every frame, before * asking for tasks to be submitted. */

Source from the content-addressed store, hash-verified

203 * asking for tasks to be submitted.
204 */
205void PxTaskMgr::resetDependencies()
206{
207 PX_ASSERT( !mPendingTasks ); // only valid if you don't resubmit named tasks, this is true for the SDK
208 PX_ASSERT( mCpuDispatcher );
209 mTaskTable.clear();
210 mDepTable.clear();
211 mName2IDmap.clear();
212 mPendingTasks = 0;
213}
214
215/*
216 * Called by the owner (Scene) to start simulating the task graph.

Callers 4

concurrentVehicleUpdatesFunction · 0.80
simulateOrCollideMethod · 0.80
sceneQueriesUpdateMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected