OpenSceneGraph
3.4.0
|
Encapsulates glEnablei/glDisablei. More...
Public Member Functions | |
Capabilityi () | |
Capabilityi (GLenum capability, unsigned int buf) | |
Capabilityi (const Capabilityi &cap, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
META_Object (osg, Capabilityi) | |
virtual int | compare (const StateAttribute &sa) const |
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. | |
virtual unsigned int | getMember () const |
Return the member identifier within the attribute's class type. | |
void | setIndex (unsigned int buf) |
Set the renderbuffer index of the Enablei. | |
unsigned int | getIndex () const |
Get the renderbuffer index of the Enablei. | |
Protected Member Functions | |
virtual | ~Capabilityi () |
Protected Attributes | |
unsigned int | _index |
Encapsulates glEnablei/glDisablei.
osg::Capabilityi::Capabilityi | ( | GLenum | capability, |
unsigned int | buf | ||
) | [inline] |
osg::Capabilityi::Capabilityi | ( | const Capabilityi & | cap, |
const CopyOp & | copyop = CopyOp::SHALLOW_COPY |
||
) | [inline] |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osg::Capabilityi::~Capabilityi | ( | ) | [protected, virtual] |
virtual int osg::Capabilityi::compare | ( | const StateAttribute & | sa | ) | const [inline, virtual] |
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Reimplemented from osg::Capability.
References COMPARE_StateAttribute_Parameter, and COMPARE_StateAttribute_Types.
unsigned int osg::Capabilityi::getIndex | ( | ) | const [inline] |
Get the renderbuffer index of the Enablei.
virtual unsigned int osg::Capabilityi::getMember | ( | ) | const [inline, virtual] |
Return the member identifier within the attribute's class type.
Used for light number/clip plane number etc.
Reimplemented from osg::StateAttribute.
osg::Capabilityi::META_Object | ( | osg | , |
Capabilityi | |||
) |
Reimplemented in osg::Disablei, and osg::Enablei.
void osg::Capabilityi::setIndex | ( | unsigned int | buf | ) | [inline] |
Set the renderbuffer index of the Enablei.
unsigned int osg::Capabilityi::_index [protected] |
![]() | Generated at Tue Dec 8 2015 00:16:41 for the OpenSceneGraph by doxygen 1.7.6.1. |