X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fmodule.h;fp=source%2Fcore%2Fmodule.h;h=f65f739aeb1e2de9a6a8a640b473a9312655dc3d;hp=b1c0f8abebda67ac56742507277bae9ccb92af22;hb=c9425c6ea4ed54925cb10d31a8d4bb0aca9aa866;hpb=8c4d64c71df5c4dcab1838d81412d7a7244ada58 diff --git a/source/core/module.h b/source/core/module.h index b1c0f8ab..f65f739a 100644 --- a/source/core/module.h +++ b/source/core/module.h @@ -3,6 +3,7 @@ #include #include +#include "glsl/compiler.h" #include "glsl/sourcemap.h" namespace Msp { @@ -22,7 +23,10 @@ public: void set_source(const std::string &); void load_source(IO::Base &, Resources *, const std::string &); void load_source(IO::Base &, const std::string &); +private: + void compile(SL::Compiler &); +public: const std::string &get_prepared_source() const { return prepared_source; } const SL::SourceMap &get_source_map() const { return source_map; } };