29 #ifndef __GL3PlusHardwareIndexBuffer_H__ 30 #define __GL3PlusHardwareIndexBuffer_H__ 49 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
51 void unlockImpl(
void);
56 bool useShadowBuffer);
59 void readData(
size_t offset,
size_t length,
void* pDest);
61 void writeData(
size_t offset,
size_t length,
62 const void* pSource,
bool discardWholeBuffer =
false);
65 size_t dstOffset,
size_t length,
bool discardWholeBuffer =
false);
67 void _updateFromShadow(
void);
73 #endif // __GL3PlusHARDWAREINDEXBUFFER_H__
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
bool mScratchUploadOnUnlock
Base definition of a hardware buffer manager.
#define _OgreGL3PlusExport
Usage
Enums describing buffer usage; not mutually exclusive.
Abstract class defining common features of hardware buffers.
LockOptions
Locking options.
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
GLuint getGLBufferId(void) const