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

Function NpShapeDecRefCount

physx/source/physx/src/NpShape.cpp:706–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704}
705
706void NpShapeDecRefCount(Scb::Shape& scb)
707{
708 NpShape* np = const_cast<NpShape*>(getNpShape(&scb));
709 np->decRefCount();
710}
711}
712
713// see NpConvexMesh.h, NpHeightField.h, NpTriangleMesh.h for details on how ref counting works for meshes

Callers 4

processShapeRemovesMethod · 0.85
onShapeDetachMethod · 0.85
switchRigidToNoSimMethod · 0.85
addOrRemoveRigidObjectFunction · 0.85

Calls 2

getNpShapeFunction · 0.85
decRefCountMethod · 0.45

Tested by

no test coverage detected