OpenSceneGraph
3.4.0
|
StateAttribute for binding a atomic counter buffer index target. More...
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 ©op=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. |
StateAttribute for binding a atomic counter buffer index target.
osg::AtomicCounterBufferBinding::AtomicCounterBufferBinding | ( | GLuint | index = 0 | ) |
osg::AtomicCounterBufferBinding::AtomicCounterBufferBinding | ( | GLuint | index, |
BufferObject * | bo, | ||
GLintptr | offset, | ||
GLsizeiptr | size | ||
) |
Create a binding for a atomic counter buffer index target.
index | the index target |
bo | associated buffer object |
offset | offset into buffer object |
size | size of data in buffer object |
osg::AtomicCounterBufferBinding::AtomicCounterBufferBinding | ( | const AtomicCounterBufferBinding & | rhs, |
const CopyOp & | copyop = CopyOp::SHALLOW_COPY |
||
) |
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.
osg::AtomicCounterBufferBinding::META_StateAttribute | ( | osg | , |
AtomicCounterBufferBinding | , | ||
ATOMICCOUNTERBUFFERBINDING | |||
) |
void osg::AtomicCounterBufferBinding::readData | ( | osg::State & | state, |
osg::UIntArray & | uintArray | ||
) | const |
![]() | Generated at Tue Dec 8 2015 00:16:40 for the OpenSceneGraph by doxygen 1.7.6.1. |