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

Method release

physx/source/physx/src/NpShape.cpp:193–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193void NpShape::release()
194{
195 PX_CHECK_AND_RETURN(getRefCount() > 1 || getActorCount() == 0, "PxShape::release: last reference to a shape released while still attached to an actor!");
196 NP_WRITE_CHECK(getOwnerScene());
197 releaseInternal();
198}
199
200void NpShape::releaseInternal()
201{

Callers 4

onPvdDisconnectedMethod · 0.45
releaseMaterialsMethod · 0.45
createShapeMethod · 0.45

Calls 2

getRefCountFunction · 0.85
getActorCountFunction · 0.85

Tested by

no test coverage detected