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 |
apply the OpenGL state attributes. | |
void | compileGLObjects (osg::State &state) const |
default to nothing to compile - all state is applied immediately. | |
int | compare (const osg::StateAttribute &sa) const |
void | disable () |
Protected Member Functions | |
virtual | ~Validator () |
Validator & | operator= (const Validator &) |
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.
|
|
|
|
|
|
|
|
|
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. |
|
|
|
default to nothing to compile - all state is applied immediately.
Reimplemented from osg::StateAttribute. |
|
|
|
|
|
|