OpenSceneGraph
3.4.0
|
Encapsulates glBlendEquationi function : the index version of glBlendEquation for multiple render target. More...
Public Member Functions | |
BlendEquationi () | |
BlendEquationi (unsigned int buf, Equation equation) | |
BlendEquationi (unsigned int buf, Equation equationRGB, Equation equationAlpha) | |
BlendEquationi (const BlendEquationi &cm, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
META_StateAttribute (osg, BlendEquationi, BLENDEQUATION) | |
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 buffer index as the member identifier. | |
void | setIndex (unsigned int buf) |
Set the renderbuffer index of the BlendEquationi. | |
unsigned int | getIndex () const |
Get the renderbuffer index of the BlendEquationi. | |
virtual void | apply (State &state) const |
apply the OpenGL state attributes. | |
Protected Member Functions | |
virtual | ~BlendEquationi () |
Protected Attributes | |
unsigned int | _index |
Encapsulates glBlendEquationi function : the index version of glBlendEquation for multiple render target.
osg::BlendEquationi::BlendEquationi | ( | unsigned int | buf, |
Equation | equation | ||
) | [inline] |
osg::BlendEquationi::BlendEquationi | ( | unsigned int | buf, |
Equation | equationRGB, | ||
Equation | equationAlpha | ||
) | [inline] |
osg::BlendEquationi::BlendEquationi | ( | const BlendEquationi & | cm, |
const CopyOp & | copyop = CopyOp::SHALLOW_COPY |
||
) | [inline] |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osg::BlendEquationi::~BlendEquationi | ( | ) | [protected, virtual] |
virtual void osg::BlendEquationi::apply | ( | State & | ) | const [virtual] |
apply the OpenGL state attributes.
The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.
Reimplemented from osg::BlendEquation.
virtual int osg::BlendEquationi::compare | ( | const StateAttribute & | sa | ) | const [inline, virtual] |
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Reimplemented from osg::BlendEquation.
References osg::BlendEquation::compare(), COMPARE_StateAttribute_Parameter, and COMPARE_StateAttribute_Types.
unsigned int osg::BlendEquationi::getIndex | ( | ) | const [inline] |
Get the renderbuffer index of the BlendEquationi.
virtual unsigned int osg::BlendEquationi::getMember | ( | ) | const [inline, virtual] |
Return the buffer index as the member identifier.
Reimplemented from osg::StateAttribute.
void osg::BlendEquationi::setIndex | ( | unsigned int | buf | ) | [inline] |
Set the renderbuffer index of the BlendEquationi.
unsigned int osg::BlendEquationi::_index [protected] |
![]() | Generated at Tue Dec 8 2015 00:14:23 for the OpenSceneGraph by doxygen 1.7.6.1. |