OpenSceneGraph  3.4.0
Public Member Functions | Protected Member Functions | Protected Attributes
osg::Capability Class Reference
Inheritance diagram for osg::Capability:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Capability ()
 Capability (GLenum capability)
 Capability (const Capability &cap, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy.
 META_Object (osg, Capability)
virtual int compare (const StateAttribute &sa) const
 Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
virtual Type getType () const
 Return the Type identifier of the attribute's class type.
void setCapability (GLenum capability)
GLenum getCapability () const

Protected Member Functions

virtual ~Capability ()

Protected Attributes

GLenum _capability

Constructor & Destructor Documentation

osg::Capability::Capability ( GLenum  capability) [inline]
osg::Capability::Capability ( const Capability cap,
const CopyOp copyop = CopyOp::SHALLOW_COPY 
) [inline]

Copy constructor using CopyOp to manage deep vs shallow copy.

virtual osg::Capability::~Capability ( ) [protected, virtual]

Member Function Documentation

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

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

Implements osg::StateAttribute.

Reimplemented in osg::Capabilityi.

References COMPARE_StateAttribute_Parameter, and COMPARE_StateAttribute_Types.

GLenum osg::Capability::getCapability ( ) const [inline]
virtual Type osg::Capability::getType ( ) const [inline, virtual]

Return the Type identifier of the attribute's class type.

Implements osg::StateAttribute.

void osg::Capability::setCapability ( GLenum  capability) [inline]

Member Data Documentation

GLenum osg::Capability::_capability [protected]

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

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