nvidia::apex::ScopedPhysXLockWrite Class Reference
This helper class creates a scoped write access to the PhysX SDK API. More...
#include <ScopedPhysXLock.h>
Public Member Functions | |
| ScopedPhysXLockWrite (nvidia::Scene *scene, const char *fileName, int lineno) | |
| Constructor for ScopedPhysXLockWrite. | |
| ScopedPhysXLockWrite (physx::PxScene *scene, const char *fileName, int lineno) | |
| Constructor for ScopedPhysXLockWrite. | |
Detailed Description
This helper class creates a scoped write access to the PhysX SDK API.
This helper class is used to create a scoped write lock/unlock pair around a section of code which is trying to do read access against the PhysX SDK.
Constructor & Destructor Documentation
| nvidia::apex::ScopedPhysXLockWrite::ScopedPhysXLockWrite | ( | nvidia::Scene * | scene, |
| const char * | fileName, | ||
| int | lineno | ||
| ) | [inline] |
Constructor for ScopedPhysXLockWrite.
- 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::ScopedPhysXLockWrite::ScopedPhysXLockWrite | ( | physx::PxScene * | scene, |
| const char * | fileName, | ||
| int | lineno | ||
| ) | [inline] |
Constructor for ScopedPhysXLockWrite.
- 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.