|
OpenSceneGraph
3.0.1
|
StateAttribute for binding a uniform buffer index target. More...

Public Member Functions | |
| UniformBufferBinding () | |
| UniformBufferBinding (GLuint index) | |
| UniformBufferBinding (GLuint index, BufferObject *bo, GLintptr offset, GLsizeiptr size) | |
| Create a binding for a uniform buffer index target. | |
| UniformBufferBinding (const UniformBufferBinding &rhs, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| META_StateAttribute (osg, UniformBufferBinding, UNIFORMBUFFERBINDING) | |
| virtual int | compare (const StateAttribute &bb) const |
| Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. | |
StateAttribute for binding a uniform buffer index target.
| osg::UniformBufferBinding::UniformBufferBinding | ( | GLuint | index | ) |
| osg::UniformBufferBinding::UniformBufferBinding | ( | GLuint | index, |
| BufferObject * | bo, | ||
| GLintptr | offset, | ||
| GLsizeiptr | size | ||
| ) |
Create a binding for a uniform buffer index target.
| index | the index target |
| bo | associated buffer object |
| offset | offset into buffer object |
| size | size of data in buffer object |
| osg::UniformBufferBinding::UniformBufferBinding | ( | const UniformBufferBinding & | rhs, |
| const CopyOp & | copyop = CopyOp::SHALLOW_COPY |
||
| ) |
| virtual int osg::UniformBufferBinding::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::UniformBufferBinding::META_StateAttribute | ( | osg | , |
| UniformBufferBinding | , | ||
| UNIFORMBUFFERBINDING | |||
| ) |
| Generated at Thu Sep 27 2012 17:02:48 for the OpenSceneGraph by doxygen 1.7.6.1. |