Go to the documentation of this file.
28 #ifndef __GLHARDWAREVERTEXBUFFER_H__
29 #define __GLHARDWAREVERTEXBUFFER_H__
50 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
52 void unlockImpl(
void);
58 void readData(
size_t offset,
size_t length,
void* pDest);
60 void writeData(
size_t offset,
size_t length,
61 const void* pSource,
bool discardWholeBuffer =
false);
63 void _updateFromShadow(
void);
69 #endif // __GLHARDWAREVERTEXBUFFER_H__
Specialisation of HardwareVertexBuffer for OpenGL.
Base definition of a hardware buffer manager.
GLuint getGLBufferId(void) const
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