1 #ifndef MSP_GL_SL_COMPILER_H_
2 #define MSP_GL_SL_COMPILER_H_
19 std::vector<std::string> imported_names;
25 void compile(const std::string &, const std::string & = "<string>");
26 void compile(IO::Base &, Resources * = 0, const std::string & = "<file>");
27 void compile(IO::Base &, const std::string &);
28 void add_shaders(Program &);
31 void append_module(Module &);
32 void append_stage(Stage &);
34 void import(const std::string &);
35 void generate(Stage &);
36 bool optimize(Stage &);
37 void finalize(Stage &);
38 static void inject_block(Block &, const Block &);