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

Method addReference

physx/source/task/src/TaskManager.cpp:195–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195void PxTaskMgr::addReference(PxLightCpuTask& lighttask)
196{
197 /* This does not need a lock! */
198 shdfnd::atomicIncrement(&lighttask.mRefCount);
199}
200
201/*
202 * Called by the owner (Scene) at the start of every frame, before

Callers 9

startNextSubstepFunction · 0.45
collideStepMethod · 0.45
hackInContinuationFunction · 0.45
setDependentMethod · 0.45
setSecondContinuationMethod · 0.45
updateMethod · 0.45

Calls 1

atomicIncrementFunction · 0.50

Tested by

no test coverage detected