MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / FlushRequests

Method FlushRequests

Source/Engine/Physics/PhysX/PhysicsBackendPhysX.cpp:4540–4550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4538}
4539
4540void PhysicsBackend::FlushRequests()
4541{
4542 FlushLocker.Lock();
4543
4544 // Delete objects
4545 for (int32 i = 0; i < DeleteObjects.Count(); i++)
4546 DeleteObjects[i]->release();
4547 DeleteObjects.Clear();
4548
4549 FlushLocker.Unlock();
4550}
4551
4552void PhysicsBackend::FlushRequests(void* scene)
4553{

Callers

nothing calls this directly

Calls 9

LockMethod · 0.80
UnlockMethod · 0.80
OnColliderRemovedMethod · 0.80
OnJointRemovedMethod · 0.80
CountMethod · 0.45
releaseMethod · 0.45
ClearMethod · 0.45
HasItemsMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected