28 #ifndef __GL3PlusHARDWAREVERTEXBUFFER_H__ 29 #define __GL3PlusHARDWAREVERTEXBUFFER_H__ 51 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
53 void unlockImpl(
void);
61 void readData(
size_t offset,
size_t length,
void* pDest);
64 void writeData(
size_t offset,
size_t length,
65 const void* pSource,
bool discardWholeBuffer =
false);
69 size_t dstOffset,
size_t length,
bool discardWholeBuffer =
false);
72 void _updateFromShadow(
void);
78 #endif // __GL3PlusHARDWAREVERTEXBUFFER_H__
Specialisation of HardwareBuffer for a vertex buffer.
Specialisation of HardwareVertexBuffer for OpenGL.
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