25 #ifndef WGESHADERDEFINEOPTIONS_H
26 #define WGESHADERDEFINEOPTIONS_H
31 #include <boost/shared_ptr.hpp>
33 #include "WGEShaderPreprocessor.h"
35 #include "../WExportWGE.h"
50 typedef boost::shared_ptr< WGEShaderDefineOptions >
SPtr;
55 typedef boost::shared_ptr< const WGEShaderDefineOptions >
ConstSPtr;
77 std::string option2 =
"", std::string option3 =
"", std::string option4 =
"", std::string option5 =
"",
78 std::string option6 =
"", std::string option7 =
"", std::string option8 =
"", std::string option9 =
"",
79 std::string option10 =
"" );
101 virtual std::string
process(
const std::string& file,
const std::string& code )
const;
108 const IdxList& getActiveOptions()
const;
117 std::string getOptionName(
size_t idx )
const;
125 void activateOption(
size_t idx,
bool exclusive =
true );
132 void dactivateOption(
size_t idx );
137 void activateAllOptions();
142 void deactivateAllOptions();
150 void addOption( std::string opt );
159 void setActivationList(
const IdxList& newList );
174 #endif // WGESHADERDEFINEOPTIONS_H