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

Function NpShapeDecRefCount

deps/physx/physx/source/physx/src/NpShape.cpp:709–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707}
708
709void NpShapeDecRefCount(Scb::Shape& scb)
710{
711 NpShape* np = const_cast<NpShape*>(getNpShape(&scb));
712 np->decRefCount();
713}
714}
715
716// 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