|
Fillwave
10.0.0
|
IndexBufferObject - IBO. More...
#include <IndexBuffer.h>
Public Member Functions | |
| IndexBuffer (GLuint elements, bool fill, GLuint dataStoreModification=GL_STATIC_DRAW) | |
| IndexBuffer (const std::vector< GLuint > &data, GLuint dataStoreModification=GL_STATIC_DRAW) | |
| GLuint * | getDataInternal () |
| void | emptyCPU () override |
| void | emptyGPU () override |
Public Member Functions inherited from flw::flc::IBuffer | |
| 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 |
| GLuint | getHandle (GLuint id=0) |
Protected Attributes | |
| std::vector< GLuint > | mDataIndices |
Protected Attributes inherited from flw::flc::IBuffer | |
| GLsizei | mHowMany |
| GLuint | mHandles [FILLWAVE_GLOBJECTS_MAX] |
| bool | mLoaded |
| GLuint | mTarget |
| GLuint | mDataStoreType |
| GLuint | mIndex |
| GLvoid * | mData |
| GLsizeiptr | mSize |
| GLuint | mTotalElements |
Additional Inherited Members | |
Protected Member Functions inherited from flw::flc::IBuffer | |
| void | setElements (GLuint elements) |
| void | setSize (GLuint size) |
IndexBufferObject - IBO.
1.8.11