1 #ifndef MSP_GL_MODULE_H_
2 #define MSP_GL_MODULE_H_
5 #include <msp/io/base.h>
6 #include "glsl/compiler.h"
7 #include "glsl/sourcemap.h"
17 std::string prepared_source;
18 SL::SourceMap source_map;
23 void set_source(const std::string &);
24 void load_source(IO::Base &, Resources *, const std::string &);
25 void load_source(IO::Base &, const std::string &);
27 void compile(SL::Compiler &);
30 const std::string &get_prepared_source() const { return prepared_source; }
31 const SL::SourceMap &get_source_map() const { return source_map; }