osgFX::Validator Class Reference
List of all members.
Detailed Description
This class is used internally by osgFX::Effect to choose between different techniques dynamically. The apply() method will call each technique's validate() method and store the results in a buffered array. The Effect class will then choose the first technique that could be validated in all active rendering contexts.
Constructor & Destructor Documentation
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] |
Member Function Documentation
void osgFX::Validator::apply |
( |
osg::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::StateAttribute.
void osgFX::Validator::compileGLObjects |
( |
osg::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 |
| |
|
) |
| | |
The documentation for this class was generated from the following file: