◆ PxMutexT()
template<typename Alloc = PxReflectionAllocator<PxMutexImpl>>
The constructor for Mutex creates a mutex. It is initially unlocked.
◆ ~PxMutexT()
template<typename Alloc = PxReflectionAllocator<PxMutexImpl>>
The destructor for Mutex deletes the mutex.
◆ lock()
template<typename Alloc = PxReflectionAllocator<PxMutexImpl>>
Acquire (lock) the mutex. If the mutex is already locked by another thread, this method blocks until the mutex is unlocked.
◆ trylock()
template<typename Alloc = PxReflectionAllocator<PxMutexImpl>>
Acquire (lock) the mutex. If the mutex is already locked by another thread, this method returns false without blocking, returns true if lock is successfully acquired
◆ unlock()
template<typename Alloc = PxReflectionAllocator<PxMutexImpl>>
Release (unlock) the mutex, the calling thread must have previously called lock() or method will error
The documentation for this class was generated from the following file:
- RavEngine/deps/physx/physx/include/foundation/PxMutex.h