1 #ifndef MSP_GL_SL_COMPILER_H_
2 #define MSP_GL_SL_COMPILER_H_
17 std::vector<std::string> imported_names;
26 void set_source(const std::string &, const std::string & = "<string>");
27 void load_source(IO::Base &, DataFile::Collection * = 0, const std::string & = "<file>");
28 void load_source(IO::Base &, const std::string &);
30 void add_shaders(Program &);
33 void append_module(Module &, DataFile::Collection *);
34 void append_stage(Stage &);
35 void import(DataFile::Collection *, const std::string &);
36 void generate(Stage &);
37 bool optimize(Stage &);
38 void finalize(Stage &);
39 static void inject_block(Block &, const Block &);