This helper class creates a scoped read access to the PhysX SDK API. More...
#include <ScopedPhysXLock.h>
Public Member Functions | |
ScopedPhysXLockRead (nvidia::Scene *scene, const char *fileName, int lineno) | |
Constructor for ScopedPhysXLockRead. | |
ScopedPhysXLockRead (physx::PxScene *scene, const char *fileName, int lineno) | |
Constructor for ScopedPhysXLockRead. |
This helper class creates a scoped read access to the PhysX SDK API.
This helper class is used to create a scoped read lock/unlock pair around a section of code which is trying to do read access against the PhysX SDK.
nvidia::apex::ScopedPhysXLockRead::ScopedPhysXLockRead | ( | nvidia::Scene * | scene, |
const char * | fileName, | ||
int | lineno | ||
) | [inline] |
Constructor for ScopedPhysXLockRead.
[in] | scene | the APEX scene |
[in] | fileName | used to determine what file called the lock for debugging purposes |
[in] | lineno | used to determine what line number called the lock for debugging purposes |
nvidia::apex::ScopedPhysXLockRead::ScopedPhysXLockRead | ( | physx::PxScene * | scene, |
const char * | fileName, | ||
int | lineno | ||
) | [inline] |
Constructor for ScopedPhysXLockRead.
[in] | scene | the PhysX scene |
[in] | fileName | used to determine what file called the lock for debugging purposes |
[in] | lineno | used to determine what line number called the lock for debugging purposes |