PxSceneReadLock
Defined in include/PxSceneLock.h
-
class PxSceneReadLock
RAII wrapper for the PxScene read lock.
Use this class as follows to lock the scene for reading by the current thread for the duration of the enclosing scope:
PxSceneReadLock lock(sceneRef);
See also
PxScene::lockRead(), PxScene::unlockRead(), PxSceneFlag::eREQUIRE_RW_LOCK