MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / resetDependencies

Method resetDependencies

deps/physx/physx/source/task/src/TaskManager.cpp:193–201  ·  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

191 * asking for tasks to be submitted.
192 */
193void PxTaskMgr::resetDependencies()
194{
195 PX_ASSERT( !mPendingTasks ); // only valid if you don't resubmit named tasks, this is true for the SDK
196 PX_ASSERT( mCpuDispatcher );
197 mTaskTable.clear();
198 mDepTable.clear();
199 mName2IDmap.clear();
200 mPendingTasks = 0;
201}
202
203/*
204 * 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