VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Protected Attributes | Private Member Functions
makVrv::DtBufferObjectApplyAttribute Class Referenceabstract

Manage buffer object binding state, via glBindBufferBase. More...

Inheritance diagram for makVrv::DtBufferObjectApplyAttribute:
Inheritance graph
[legend]

Public Member Functions

 DtBufferObjectApplyAttribute ()
 CTOR. More...
 
 DtBufferObjectApplyAttribute (const DtBufferObjectApplyAttribute &copy, const osg::CopyOp &copyOp=osg::CopyOp::SHALLOW_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::map< DtGlBuffer
*, GLuint
BufferMap
 

Protected Attributes

BufferMap myBufferMap
 

Private Member Functions

DtBufferObjectApplyAttributeoperator= (const DtBufferObjectApplyAttribute &)
 Private assignment operator. More...
 

Detailed Description

Manage buffer object binding state, via glBindBufferBase.

Member Typedef Documentation

Constructor & Destructor Documentation

makVrv::DtBufferObjectApplyAttribute::DtBufferObjectApplyAttribute ( )

CTOR.

makVrv::DtBufferObjectApplyAttribute::DtBufferObjectApplyAttribute ( const DtBufferObjectApplyAttribute copy,
const osg::CopyOp &  copyOp = osg::CopyOp::SHALLOW_COPY 
)

CTOR.

virtual makVrv::DtBufferObjectApplyAttribute::~DtBufferObjectApplyAttribute ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtBufferObjectApplyAttribute::addBufferObject ( DtGlBuffer ubo,
GLuint  bindingPointIndex 
)
virtual

Add a new buffer object with the given bindingPointIndex.

virtual void makVrv::DtBufferObjectApplyAttribute::removeBufferObject ( DtGlBuffer ubo)
virtual

Remove the given buffer object.

virtual void makVrv::DtBufferObjectApplyAttribute::apply ( osg::State &  state) const
virtual

Apply the given OSG state.

virtual int makVrv::DtBufferObjectApplyAttribute::compare ( const StateAttribute &  sa) const
pure virtual
virtual void makVrv::DtBufferObjectApplyAttribute::releaseGLObjects ( osg::State *  state) const
virtual

Release all manged GL objects.

DtBufferObjectApplyAttribute& makVrv::DtBufferObjectApplyAttribute::operator= ( const DtBufferObjectApplyAttribute )
private

Private assignment operator.

Note
Not implemented. TODO: use = delete when c++11 is available

Member Data Documentation

BufferMap makVrv::DtBufferObjectApplyAttribute::myBufferMap
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)