![]() |
VR-Forces 4.10 Class Documentation
|
Manage buffer object binding state, via glBindBufferBase. More...

Public Member Functions | |
| DtBufferObjectApplyAttribute () | |
| CTOR. More... | |
| DtBufferObjectApplyAttribute (const DtBufferObjectApplyAttribute ©, const osg::CopyOp ©Op=osg::CopyOp::SHALLOW_COPY) | |
| copy CTOR More... | |
| virtual | ~DtBufferObjectApplyAttribute () |
| DTOR. More... | |
| virtual void | addBufferObject (DtGlBuffer *ubo, GLuint bindingPointIndex) |
| Add a new buffer object with the given bindingPointIndex. More... | |
| virtual void | removeBufferObject (DtGlBuffer *ubo) |
| Remove the given buffer object. More... | |
| virtual void | apply (osg::State &state) const |
| Apply the given OSG state. More... | |
| virtual int | compare (const StateAttribute &sa) const =0 |
| Compare the given OSG state. More... | |
| virtual void | releaseGLObjects (osg::State *state) const |
| Release all manged GL objects. More... | |
Protected Types | |
| typedef std::unordered_map < DtGlBuffer *, GLuint > | BufferMap |
Protected Attributes | |
| BufferMap | myBufferMap |
Private Member Functions | |
| DtBufferObjectApplyAttribute & | operator= (const DtBufferObjectApplyAttribute &)=delete |
| Private assignment operator. More... | |
Manage buffer object binding state, via glBindBufferBase.
|
protected |
| makVrv::DtBufferObjectApplyAttribute::DtBufferObjectApplyAttribute | ( | ) |
CTOR.
| makVrv::DtBufferObjectApplyAttribute::DtBufferObjectApplyAttribute | ( | const DtBufferObjectApplyAttribute & | copy, |
| const osg::CopyOp & | copyOp = osg::CopyOp::SHALLOW_COPY |
||
| ) |
copy CTOR
|
virtual |
DTOR.
|
privatedelete |
Private assignment operator.
|
virtual |
Add a new buffer object with the given bindingPointIndex.
|
virtual |
Remove the given buffer object.
|
virtual |
Apply the given OSG state.
|
pure virtual |
Compare the given OSG state.
Implemented in makVrv::DtShaderStorageBufferApplyAttribute, and makVrv::DtUniformBufferObjectApplyAttribute.
|
virtual |
Release all manged GL objects.
|
protected |