VR-Forces 4.10 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)
 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

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

Detailed Description

Manage buffer object binding state, via glBindBufferBase.

Member Typedef Documentation

typedef std::unordered_map<DtGlBuffer*, GLuint > makVrv::DtBufferObjectApplyAttribute::BufferMap
protected

Constructor & Destructor Documentation

makVrv::DtBufferObjectApplyAttribute::DtBufferObjectApplyAttribute ( )

CTOR.

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

copy CTOR

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

DTOR.

Member Function Documentation

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

Private assignment operator.

Note
Not implemented.
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.

Member Data Documentation

BufferMap makVrv::DtBufferObjectApplyAttribute::myBufferMap
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)