Inheritance diagram for osgFX::Validator:
Public Member Functions | |
Validator () | |
Validator (Effect *effect) | |
Validator (const Validator ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
META_StateAttribute (osgFX, Validator, VALIDATOR) | |
void | apply (osg::State &state) const |
void | compileGLObjects (osg::State &state) const |
int | compare (const osg::StateAttribute &sa) const |
void | disable () |
Protected Member Functions | |
virtual | ~Validator () |
Validator & | operator= (const Validator &) |
osgFX::Validator::Validator | ( | ) |
osgFX::Validator::Validator | ( | Effect * | effect | ) |
osgFX::Validator::Validator | ( | const Validator & | copy, | |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
) |
virtual osgFX::Validator::~Validator | ( | ) | [inline, protected, virtual] |
void osgFX::Validator::apply | ( | osg::State & | state | ) | const [virtual] |
apply the OpenGL state attributes. The global state for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.
Implements osg::StateAttribute.
int osgFX::Validator::compare | ( | const osg::StateAttribute & | sa | ) | const [inline, virtual] |
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Implements osg::StateAttribute.
void osgFX::Validator::compileGLObjects | ( | osg::State & | state | ) | const [virtual] |
default to nothing to compile - all state is applied immediately.
Reimplemented from osg::StateAttribute.
void osgFX::Validator::disable | ( | ) | [inline] |
osgFX::Validator::META_StateAttribute | ( | osgFX | , | |
Validator | , | |||
VALIDATOR | ||||
) |