15#ifndef OSGFX_VALIDATOR_
16#define OSGFX_VALIDATOR_
#define COMPARE_StateAttribute_Parameter(parameter)
COMPARE_StateAttribute_Parameter macro is a helper for implementing the StatateAtribute::compare(....
Definition StateAttribute:69
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
COMPARE_StateAttribute_Types macro is a helper for implementing the StateAtribute::compare(....
Definition StateAttribute:57
The osgFX library is a NodeKit that extends the core scene graph to provide a special effects framewo...
Definition AnisotropicLighting:25
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
Encapsulates the current applied OpenGL modes, attributes and vertex arrays settings,...
Definition State:80
Base class for state attributes.
Definition StateAttribute:77
@ VALIDATOR
osgFX namespace
Definition StateAttribute:172
The base class for special effects.
Definition Effect:66
void apply(osg::State &state) const
apply the OpenGL state attributes.
Validator(const Validator ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
int compare(const osg::StateAttribute &sa) const
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Definition Validator:61
void disable()
Definition Validator:49
Validator & operator=(const Validator &)
Definition Validator:53
Validator(Effect *effect)
virtual ~Validator()
Definition Validator:52
void compileGLObjects(osg::State &state) const
Default to nothing to compile - all state is applied immediately.
META_StateAttribute(osgFX, Validator, VALIDATOR)
#define OSGFX_EXPORT
Definition Export:27