|
Fillwave
10.0.0
|
UniformBufferObject - UBO. More...
#include <UniformBuffer.h>
Public Member Functions | |
| UniformBuffer (std::string name, GLuint index, GLuint uniformBlockSize, GLuint bindingPoint, GLuint dataStoreModification=GL_STATIC_DRAW) | |
| std::string | getName () |
| void | bindRange (GLuint id=0) |
| void | push (GLfloat *data, size_t size=0) |
| void | emptyCPU () override |
| void | emptyGPU () override |
| UniformBuffer (std::string name, GLuint index, GLuint uniformBlockSize, GLuint bindingPoint, GLuint dataStoreModification=GL_STATIC_DRAW) | |
| std::string | getName () |
| void | bindRange (GLuint id=0) |
| void | push (GLfloat *data, size_t size=0) |
| 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) |
Additional Inherited Members | |
Protected Member Functions inherited from flw::flc::IBuffer | |
| void | setElements (GLuint elements) |
| void | setSize (GLuint size) |
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 |
UniformBufferObject - UBO.
1.8.11