X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogram.h;h=a1f454e9453272cf14b84a29ce60bc8c6a765b60;hb=8c24084524198e23d65058454001ffb0bf20e94f;hp=ac8e24b54b6a8143510ac743d6676e963e3b78ae;hpb=0646b330ffa9ea7fd77e2078257499b1d58ac0f7;p=libs%2Fgl.git diff --git a/source/program.h b/source/program.h index ac8e24b5..a1f454e9 100644 --- a/source/program.h +++ b/source/program.h @@ -43,6 +43,7 @@ public: bool specular; bool normalmap; bool shadow; + bool reflection; bool transform; StandardFeatures(); @@ -64,6 +65,7 @@ private: std::list owned_data; bool linked; std::map uniforms; + unsigned uniform_layout_hash; public: Program(); @@ -87,6 +89,7 @@ public: bool is_linked() const { return linked; } std::string get_info_log() const; void bind() const; + unsigned get_uniform_layout_hash() const { return uniform_layout_hash; } int get_uniform_location(const std::string &) const; static void unbind();