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

Method resetThreadContexts

physx/source/lowleveldynamics/src/DyDynamics.cpp:150–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150void DynamicsContext::resetThreadContexts()
151{
152 PxcThreadCoherentCacheIterator<ThreadContext, PxcNpMemBlockPool> threadContextIt(mThreadContextPool);
153 ThreadContext* threadContext = threadContextIt.getNext();
154
155 while(threadContext != NULL)
156 {
157 threadContext->reset();
158 threadContext = threadContextIt.getNext();
159 }
160}
161
162
163// =========================== Basic methods

Calls 2

getNextMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected