![]() |
VR-Forces 5.0.1 Developer's Guide
|
Manage buffer object binding state, via glBindBufferBase.

Public Member Functions | |
| DtBufferObjectApplyAttribute () | |
| DtBufferObjectApplyAttribute (const DtBufferObjectApplyAttribute ©, const osg::CopyOp ©Op=osg::CopyOp::SHALLOW_COPY) | |
| virtual | ~DtBufferObjectApplyAttribute () |
| virtual void | addBufferObject (DtGlBuffer *ubo, GLuint bindingPointIndex) |
| virtual void | removeBufferObject (DtGlBuffer *ubo) |
| virtual void | apply (osg::State &state) const |
| virtual int | compare (const StateAttribute &sa) const =0 |
| virtual void | releaseGLObjects (osg::State *state) const |
| virtual void | setCallback (DtBufferObjectApplyAttributeCallback *callback) |
Protected Types | |
| typedef std::map< GLuint, DtGlBuffer * > | BufferMap |
Protected Attributes | |
| BufferMap | myBufferMap |
| DtBufferObjectApplyAttributeCallback * | myCallback = nullptr |
| bool | myConsecutive = false |
| std::vector< unsigned int > | myConsecutiveHandlesScratch |
Private Member Functions | |
| DtBufferObjectApplyAttribute & | operator= (const DtBufferObjectApplyAttribute &)=delete |
|
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.
|
virtual |
set a callback
|
protected |
|
protected |
|
protected |
|
mutableprotected |