X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fprogrambuilder.h;h=821907d5dba46a281323c3364e1b85095426296e;hp=8275e4579556e91aabd3c1b6d39d63698146b34d;hb=cb2281586d0202dfe2c8c181afc9cbf1d250cf25;hpb=cdd4ca79e38325a482f007d5d271d08b2d9bec6c diff --git a/source/programbuilder.h b/source/programbuilder.h index 8275e457..821907d5 100644 --- a/source/programbuilder.h +++ b/source/programbuilder.h @@ -84,7 +84,9 @@ private: void update_reference(ShaderVariable &, ShaderVariable &); void check_inline(bool, bool); bool is_referenced_from(VariableScope) const; - std::string get_expression() const; + std::string create_declaration(char = 0) const; + std::string create_replacement(VariableScope) const; + std::string create_expression() const; }; enum MatchLevel