Go to the documentation of this file.
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__
Base definition of a hardware buffer manager.
Specialisation of HardwareVertexBuffer for OpenGL.
#define _OgreGL3PlusExport
GLuint getGLBufferId(void) const
Abstract class defining common features of hardware buffers.
bool mScratchUploadOnUnlock
Specialisation of HardwareBuffer for a vertex buffer.
Usage
Enums describing buffer usage; not mutually exclusive.
LockOptions
Locking options.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15