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

Method releaseArticulationLinkToPool

physx/source/physx/src/NpFactory.cpp:312–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312void NpFactory::releaseArticulationLinkToPool(NpArticulationLink& articulationLink)
313{
314 PX_ASSERT(articulationLink.getBaseFlags() & PxBaseFlag::eOWNS_MEMORY);
315 Ps::Mutex::ScopedLock lock(mArticulationLinkPoolLock);
316 mArticulationLinkPool.destroy(&articulationLink);
317}
318
319PxArticulationLink* NpFactory::createArticulationLink(PxArticulationBase& root, NpArticulationLink* parent, const PxTransform& pose)
320{

Callers 1

Calls 2

getBaseFlagsMethod · 0.80
destroyMethod · 0.45

Tested by

no test coverage detected