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

Method addReference

physx/source/common/src/CmTask.h:156–161  ·  view source on GitHub ↗

\brief Increases reference count */

Source from the content-addressed store, hash-verified

154 \brief Increases reference count
155 */
156 virtual void addReference()
157 {
158 shdfnd::Mutex::ScopedLock lock(mMutex);
159 physx::shdfnd::atomicIncrement(&mRefCount);
160 mNotifySubmission = true;
161 }
162
163 /**
164 \brief Return the ref-count for this task

Callers 1

addDependentMethod · 0.45

Calls 1

atomicIncrementFunction · 0.50

Tested by

no test coverage detected