Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osgFX::Validator Class Reference

Inheritance diagram for osgFX::Validator:

osg::StateAttribute osg::Object osg::Referenced List of all members.

Public Member Functions

 Validator ()
 Validator (Effect *effect)
 Validator (const Validator &copy, const osg::CopyOp &copyop=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 ()
Validatoroperator= (const Validator &)

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 state  )  const
 

int osgFX::Validator::compare const osg::StateAttribute sa  )  const [inline]
 

void osgFX::Validator::compileGLObjects osg::State state  )  const
 

void osgFX::Validator::disable  )  [inline]
 

osgFX::Validator::META_StateAttribute osgFX  ,
Validator  ,
VALIDATOR 
 

Validator& osgFX::Validator::operator= const Validator  )  [inline, protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Sep 8 04:58:13 2005 for OpenSceneGraph by  doxygen 1.3.9.1