Base for all buffer types.
More...
#include <IBuffer.h>
|
|
| IBuffer (GLuint target, GLuint drawType=GL_STATIC_DRAW, GLuint index=0, GLsizei howMany=1) |
| |
|
void | bind (GLuint id=0) const |
| |
|
void | bind (GLuint externalTarget, GLuint id) const |
| |
|
void | bindBase (GLuint id=0) const |
| |
|
void | bindBase (GLuint externalTarget, GLuint id) const |
| |
|
void | unbind () |
| |
|
void | unbindBase (GLuint externalTarget) |
| |
|
void | unmap () const |
| |
|
void | send () |
| |
|
void | setTarget (GLuint target) |
| |
|
void | setDrawType (GLuint drawType) |
| |
|
bool | isLoaded () |
| |
|
void | setLoaded (bool loaded) |
| |
|
GLuint | getElements () const |
| |
|
GLuint | getSize () const |
| |
|
GLvoid * | getData () const |
| |
|
void | reload () |
| |
|
GLvoid * | mapRange (GLenum access, GLuint size=0) |
| |
|
GLvoid * | map (GLenum access) const |
| |
|
virtual void | emptyCPU ()=0 |
| |
|
virtual void | emptyGPU ()=0 |
| |
|
GLuint | getHandle (GLuint id=0) |
| |
|
|
void | setElements (GLuint elements) |
| |
|
void | setSize (GLuint size) |
| |
|
|
GLsizei | mHowMany |
| |
|
GLuint | mHandles [FILLWAVE_GLOBJECTS_MAX] |
| |
|
bool | mLoaded |
| |
|
GLuint | mTarget |
| |
|
GLuint | mDataStoreType |
| |
|
GLuint | mIndex |
| |
|
GLvoid * | mData |
| |
|
GLsizeiptr | mSize |
| |
|
GLuint | mTotalElements |
| |
Base for all buffer types.
The documentation for this class was generated from the following file:
- /home/filip/Projects/fillwave/inc/flw/flc/buffers/IBuffer.h