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

Method onActorDetach

physx/source/physx/src/NpShape.cpp:646–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644}
645
646void NpShape::onActorDetach()
647{
648 PX_ASSERT(getActorCount() > 0);
649 Ps::atomicDecrement(&mExclusiveAndActorCount);
650 if(isExclusiveFast())
651 mActor = NULL;
652 decRefCount();
653}
654
655void NpShape::setName(const char* debugName)
656{

Callers 2

detachShapeMethod · 0.80
detachAllMethod · 0.80

Calls 4

getActorCountFunction · 0.85
isExclusiveFastFunction · 0.85
decRefCountFunction · 0.85
atomicDecrementFunction · 0.50

Tested by

no test coverage detected