Go to the documentation of this file.
29 #ifndef __GL3PlusDefaultHardwareBufferManager_H__
30 #define __GL3PlusDefaultHardwareBufferManager_H__
46 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
48 void unlockImpl(
void);
57 void readData(
size_t offset,
size_t length,
void* pDest);
59 void writeData(
size_t offset,
size_t length,
const void* pSource,
60 bool discardWholeBuffer =
false);
62 void* lock(
size_t offset,
size_t length,
LockOptions options);
66 void*
getDataPtr(
size_t offset)
const {
return (
void*)(mData + offset); }
75 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
77 void unlockImpl(
void);
82 void readData(
size_t offset,
size_t length,
void* pDest);
84 void writeData(
size_t offset,
size_t length,
const void* pSource,
85 bool discardWholeBuffer =
false);
87 void* lock(
size_t offset,
size_t length,
LockOptions options);
91 void*
getDataPtr(
size_t offset)
const {
return (
void*)(mData + offset); }
100 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
102 void unlockImpl(
void);
110 void readData(
size_t offset,
size_t length,
void* pDest);
112 void writeData(
size_t offset,
size_t length,
const void* pSource,
113 bool discardWholeBuffer =
false);
115 void* lock(
size_t offset,
size_t length,
LockOptions options);
119 void*
getDataPtr(
size_t offset)
const {
return (
void*)(mData + offset); }
128 void* lockImpl(
size_t offset,
size_t length,
LockOptions options);
130 void unlockImpl(
void);
137 void readData(
size_t offset,
size_t length,
void* pDest);
139 void writeData(
size_t offset,
size_t length,
const void* pSource,
140 bool discardWholeBuffer =
false);
142 void* lock(
size_t offset,
size_t length,
LockOptions options);
146 void*
getDataPtr(
size_t offset)
const {
return (
void*)(mData + offset); }
163 createVertexBuffer(
size_t vertexSize,
size_t numVerts,
Specialisation of HardwareCounterBuffer for emulation.
void * getDataPtr(size_t offset) const
Shared pointer implementation used to share counter buffers.
Specialisation of HardwareVertexBuffer for emulation.
Base definition of a hardware buffer manager.
~GL3PlusDefaultHardwareBufferManager()
Specialisation of HardwareBuffer for a counter buffer.
Shared pointer implementation used to share index buffers.
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
Shared pointer implementation used to share vertex buffers.
#define _OgreGL3PlusExport
Singleton wrapper for hardware buffer manager.
Specialisation of HardwareIndexBuffer for emulation.
GL3PlusDefaultHardwareBufferManager()
Reference-counted shared pointer, used for objects where implicit destruction is required.
void * getDataPtr(size_t offset) const
Specialisation of HardwareBuffer for a vertex buffer.
Usage
Enums describing buffer usage; not mutually exclusive.
LockOptions
Locking options.
void * getDataPtr(size_t offset) const
GL3PlusDefaultHardwareBufferManagerBase as a Singleton.
Specialisation of HardwareBufferManager to emulate hardware buffers.
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