OGRE-Next
3.0.0
Object-Oriented Graphics Rendering Engine
|
Locking helper. More...
#include <OgreHardwareBuffer.h>
Public Member Functions | |
HardwareBufferLockGuard () | |
template<typename T > | |
HardwareBufferLockGuard (const SharedPtr< T > &p, HardwareBuffer::LockOptions options) | |
template<typename T > | |
HardwareBufferLockGuard (const SharedPtr< T > &p, size_t offset, size_t length, HardwareBuffer::LockOptions options) | |
HardwareBufferLockGuard (HardwareBuffer *p, HardwareBuffer::LockOptions options) | |
HardwareBufferLockGuard (HardwareBuffer *p, size_t offset, size_t length, HardwareBuffer::LockOptions options) | |
~HardwareBufferLockGuard () | |
template<typename T > | |
void | lock (const SharedPtr< T > &p, HardwareBuffer::LockOptions options) |
template<typename T > | |
void | lock (const SharedPtr< T > &p, size_t offset, size_t length, HardwareBuffer::LockOptions options) |
void | lock (HardwareBuffer *p, HardwareBuffer::LockOptions options) |
void | lock (HardwareBuffer *p, size_t offset, size_t length, HardwareBuffer::LockOptions options) |
void | unlock () |
Public Attributes | |
HardwareBuffer * | pBuf |
void * | pData |
Locking helper.
Guaranteed unlocking even in case of exception.
|
inline |
|
inline |
References lock().
|
inline |
References lock().
|
inline |
References lock().
|
inline |
References lock().
|
inline |
References unlock().
|
inline |
References lock().
|
inline |
References lock().
|
inline |
References Ogre::v1::HardwareBuffer::lock(), pBuf, pData, and unlock().
Referenced by HardwareBufferLockGuard(), and lock().
|
inline |
References Ogre::v1::HardwareBuffer::lock(), pBuf, pData, and unlock().
|
inline |
References pBuf, pData, and Ogre::v1::HardwareBuffer::unlock().
Referenced by ~HardwareBufferLockGuard(), lock(), and Ogre::VerticesRemapInfo::performIndexDataRemap().
HardwareBuffer* Ogre::v1::HardwareBufferLockGuard::pBuf |
void* Ogre::v1::HardwareBufferLockGuard::pData |