* Called by the owner (Scene) at the start of every frame, before * asking for tasks to be submitted. */
| 203 | * asking for tasks to be submitted. |
| 204 | */ |
| 205 | void 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. |
no test coverage detected