PxSceneWriteLock
Defined in include/PxSceneLock.h
-
class PxSceneWriteLock
RAII wrapper for the PxScene write lock.
Use this class as follows to lock the scene for writing by the current thread for the duration of the enclosing scope:
PxSceneWriteLock lock(sceneRef);
See also
PxScene::lockWrite(), PxScene::unlockWrite(), PxSceneFlag::eREQUIRE_RW_LOCK