]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/compiler.h
Redesign loading of GLSL sources
[libs/gl.git] / source / glsl / compiler.h
index 51b4f00a683059579157297c1ca9803e7aff9994..3b540a8c9d20b8828b9aaa25c033a0b3bf97b043 100644 (file)
@@ -126,13 +126,13 @@ public:
 
 private:
        /** Appends a module to the target, processing any imports found in it. */
-       void append_module(Module &, DataFile::Collection *);
+       void append_module(const Module &, ModuleCache &);
 
        /** Appends a single stage to the matching stage of the target. */
-       void append_stage(Stage &);
+       void append_stage(const Stage &);
 
        /// Imports a module by name and appends it to the target. */
-       void import(DataFile::Collection *, const std::string &);
+       void import(ModuleCache &, const std::string &);
 
        /** Generates any implicitly defines syntactic structures and resolves
        variables. */