Features features;
Module *module;
std::vector<std::string> imported_names;
+ bool specialized;
+ std::map<std::string, int> spec_values;
public:
Compiler();
void set_source(const std::string &, const std::string & = "<string>");
void load_source(IO::Base &, DataFile::Collection * = 0, const std::string & = "<file>");
void load_source(IO::Base &, const std::string &);
+ void specialize(const std::map<std::string, int> &);
void compile(Mode);
std::string get_combined_glsl() const;