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

Method decRefCount

physx/source/common/src/CmRefCountable.h:82–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 }
81
82 void decRefCount()
83 {
84 PX_ASSERT(mRefCount>0);
85 if(physx::shdfnd::atomicDecrement(&mRefCount) == 0)
86 onRefCountZero();
87 }
88
89 PX_FORCE_INLINE PxU32 getRefCount() const
90 {

Callers

nothing calls this directly

Calls 1

atomicDecrementFunction · 0.50

Tested by

no test coverage detected