OpenSceneGraph  3.4.0
Public Member Functions
osg::AtomicCounterBufferBinding Class Reference

StateAttribute for binding a atomic counter buffer index target. More...

Inheritance diagram for osg::AtomicCounterBufferBinding:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AtomicCounterBufferBinding (GLuint index=0)
 AtomicCounterBufferBinding (GLuint index, BufferObject *bo, GLintptr offset, GLsizeiptr size)
 Create a binding for a atomic counter buffer index target.
 AtomicCounterBufferBinding (const AtomicCounterBufferBinding &rhs, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 META_StateAttribute (osg, AtomicCounterBufferBinding, ATOMICCOUNTERBUFFERBINDING)
void readData (osg::State &state, osg::UIntArray &uintArray) const
virtual int compare (const StateAttribute &bb) const
 Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.

Detailed Description

StateAttribute for binding a atomic counter buffer index target.


Constructor & Destructor Documentation

Create a binding for a atomic counter buffer index target.

Parameters:
indexthe index target
boassociated buffer object
offsetoffset into buffer object
sizesize of data in buffer object

Member Function Documentation

virtual int osg::AtomicCounterBufferBinding::compare ( const StateAttribute sa) const [inline, virtual]

Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.

Implements osg::StateAttribute.

References COMPARE_StateAttribute_Parameter, and COMPARE_StateAttribute_Types.


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

osg logo
Generated at Tue Dec 8 2015 00:14:23 for the OpenSceneGraph by doxygen 1.7.6.1.