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

Method release

physx/source/geomutils/src/GuMeshFactory.cpp:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void GuMeshFactory::release()
76{
77 // Release all objects in case the user didn't do it
78 releaseObjects(mTriangleMeshes);
79 releaseObjects(mConvexMeshes);
80 releaseObjects(mHeightFields);
81 releaseObjects(mBVHStructures);
82
83 PX_DELETE(this);
84}
85
86template <typename T>
87static void addToHash(Ps::CoalescedHashSet<T*>& hash, T* element, Ps::Mutex* mutex)

Callers 1

releaseObjectsFunction · 0.45

Calls 1

releaseObjectsFunction · 0.85

Tested by

no test coverage detected