MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / decRefCount

Method decRefCount

deps/physx/physx/source/foundation/src/PsFoundation.cpp:206–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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.45

Tested by

no test coverage detected