nvidia::apex::ScopedPhysXLockRead Class Reference
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. |
Detailed Description
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.
Constructor & Destructor Documentation
nvidia::apex::ScopedPhysXLockRead::ScopedPhysXLockRead | ( | nvidia::Scene * | scene, |
const char * | fileName, | ||
int | lineno | ||
) | [inline] |
Constructor for ScopedPhysXLockRead.
- Parameters:
-
[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.
- Parameters:
-
[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
The documentation for this class was generated from the following file:
Generated on Fri Dec 15 2017 13:58:41
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.