#include <PxSceneLock.h>
Public Member Functions | |
PxSceneWriteLock (PxScene &scene, const char *file=NULL, PxU32 line=0) | |
Constructor. | |
~PxSceneWriteLock () | |
Private Member Functions | |
PxSceneWriteLock (const PxSceneWriteLock &) | |
PxSceneWriteLock & | operator= (const PxSceneWriteLock &) |
Private Attributes | |
PxScene & | mScene |
Use this class as follows to lock the scene for writing by the current thread for the duration of the enclosing scope:
PxSceneWriteLock lock(sceneRef);
PxSceneWriteLock::PxSceneWriteLock | ( | const PxSceneWriteLock & | ) | [private] |
PxSceneWriteLock::PxSceneWriteLock | ( | PxScene & | scene, | |
const char * | file = NULL , |
|||
PxU32 | line = 0 | |||
) | [inline] |
Constructor.
scene | The scene to lock for writing | |
file | Optional string for debugging purposes | |
line | Optional line number for debugging purposes |
PxSceneWriteLock::~PxSceneWriteLock | ( | ) | [inline] |
PxSceneWriteLock& PxSceneWriteLock::operator= | ( | const PxSceneWriteLock & | ) | [private] |
PxScene& PxSceneWriteLock::mScene [private] |