OpenSceneGraph  3.0.1
Public Member Functions
osg::UniformBufferBinding Class Reference

StateAttribute for binding a uniform buffer index target. More...

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

List of all members.

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 &copyop=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.

Detailed Description

StateAttribute for binding a uniform buffer index target.


Constructor & Destructor Documentation

osg::UniformBufferBinding::UniformBufferBinding ( GLuint  index,
BufferObject bo,
GLintptr  offset,
GLsizeiptr  size 
)

Create a binding for a uniform 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::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.


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

osg logo
Generated at Sat Apr 28 2012 08:52:50 for the OpenSceneGraph by doxygen 1.8.0.