Go to the documentation of this file.
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__
Base definition of a hardware buffer manager.
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
#define _OgreGL3PlusExport
GLuint getGLBufferId(void) const
bool mScratchUploadOnUnlock
Abstract class defining common features of hardware buffers.
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