25 #include "WGEShaderPreprocessor.h"
Class to encapsulate boost::condition_variable_any.
std::shared_ptr< WCondition > SPtr
Shared pointer type for WCondition.
void setActive(bool active=true)
(De-)activates the preprocessor.
virtual void updated()
Fires m_updateCondition which should denote an update in the preprocessor filter.
virtual ~WGEShaderPreprocessor()
Destructor.
virtual WCondition::SPtr getChangeCondition() const
Returns the condition denoting a change in this preprocessor filter.
bool getActive() const
If the preprocessor is active, this returns true.
WCondition::SPtr m_updateCondition
The condition fires on every call of updated().
bool m_active
If true the preprocessor is active.
WGEShaderPreprocessor()
Default constructor.