OpenSceneGraph  3.4.0
Public Member Functions
osg::ShaderStorageBufferBinding Class Reference
Inheritance diagram for osg::ShaderStorageBufferBinding:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ShaderStorageBufferBinding (GLuint index=0)
 ShaderStorageBufferBinding (GLuint index, BufferObject *bo, GLintptr offset, GLsizeiptr size)
 Create a binding for a shader storage buffer index target.
 ShaderStorageBufferBinding (const ShaderStorageBufferBinding &rhs, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 META_StateAttribute (osg, ShaderStorageBufferBinding, SHADERSTORAGEBUFFERBINDING)
virtual int compare (const StateAttribute &bb) const
 Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.

Constructor & Destructor Documentation

Create a binding for a shader storage 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::ShaderStorageBufferBinding::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.