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

Method decRefCount

physx/source/foundation/src/PsFoundation.cpp:207–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void Foundation::decRefCount()
208{
209 PX_ASSERT(mInstance != NULL);
210
211 if(mRefCount > 0)
212 {
213 mRefCount--;
214 }
215 else
216 {
217 mInstance->error(PxErrorCode::eINVALID_OPERATION, __FILE__, __LINE__,
218 "Foundation: Invalid deregistration detected.");
219 }
220}
221
222void Foundation::release()
223{

Callers 11

lostTouchReportsMethod · 0.45
~NpShapeMethod · 0.45
setMaterialsMethod · 0.45
NpShapeDecRefCountFunction · 0.45
decMeshRefCountMethod · 0.45
addAggregateMethod · 0.45
removeActorMethod · 0.45
createConvexMeshMethod · 0.45
createHeightFieldMethod · 0.45
createBVHStructureMethod · 0.45

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected