#include <Buffer.h>
|
| Buffer () |
|
| ~Buffer () |
|
void | clear () |
|
bool | generateHandle () |
|
void | copyToBufferCustom (GLsizeiptr _size, const GLvoid *_data, GLenum _access=GL_STATIC_DRAW) |
|
template<typename T > |
void | copyToBufferByData (GLuint _count, const T *_data, GLenum _access=GL_STATIC_DRAW) |
|
void | copyToBufferUInt (GLuint _size, const GLvoid *_data, GLenum _access=GL_STATIC_DRAW) |
|
template<typename T > |
T * | mapBuffer (GLuint _count, GLenum _usage=GL_STATIC_DRAW, GLbitfield _mode=GL_MAP_WRITE_BIT|GL_MAP_INVALIDATE_BUFFER_BIT) |
|
template<typename T > |
T * | mapBufferStorage (GLuint _count, GLbitfield _storageMode=GL_MAP_WRITE_BIT, GLbitfield _mode=GL_MAP_WRITE_BIT|GL_MAP_INVALIDATE_BUFFER_BIT) |
|
void | unmapBuffer () |
|
void | bindBuffer () |
|
void | unbindBuffer () |
|
GLuint | getBufferHandle (unsigned int _layerid) |
|
template<int TYPE>
template<typename T >
void ge::Buffer< TYPE >::copyToBufferByData |
( |
GLuint |
_count, |
|
|
const T * |
_data, |
|
|
GLenum |
_access = GL_STATIC_DRAW |
|
) |
| |
|
inline |
template<int TYPE>
void ge::Buffer< TYPE >::copyToBufferCustom |
( |
GLsizeiptr |
_size, |
|
|
const GLvoid * |
_data, |
|
|
GLenum |
_access = GL_STATIC_DRAW |
|
) |
| |
|
inline |
template<int TYPE>
void ge::Buffer< TYPE >::copyToBufferUInt |
( |
GLuint |
_size, |
|
|
const GLvoid * |
_data, |
|
|
GLenum |
_access = GL_STATIC_DRAW |
|
) |
| |
|
inline |
template<int TYPE>
GLuint ge::Buffer< TYPE >::getBufferHandle |
( |
unsigned int |
_layerid | ) |
|
|
inline |
template<int TYPE>
template<typename T >
T* ge::Buffer< TYPE >::mapBuffer |
( |
GLuint |
_count, |
|
|
GLenum |
_usage = GL_STATIC_DRAW , |
|
|
GLbitfield |
_mode = GL_MAP_WRITE_BIT | GL_MAP_INVALIDATE_BUFFER_BIT |
|
) |
| |
|
inline |
template<int TYPE>
template<typename T >
T* ge::Buffer< TYPE >::mapBufferStorage |
( |
GLuint |
_count, |
|
|
GLbitfield |
_storageMode = GL_MAP_WRITE_BIT , |
|
|
GLbitfield |
_mode = GL_MAP_WRITE_BIT | GL_MAP_INVALIDATE_BUFFER_BIT |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file:
- /Users/mthoeny/Development/gis_globeEngine/trunk/src/globeEngineCore/include/Buffer.h