X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frenderpass.h;h=934a213e3e815f0f855dfc10ca3b9add2c2193e5;hb=9cf5d10abe5bdff0708c41544f6e8b15aca5151f;hp=e891802e3fa970e1a9005469a1783800d7cb24d3;hpb=72790b3aba8ddc1a6d020646fb7312959729777b;p=libs%2Fgl.git diff --git a/source/renderpass.h b/source/renderpass.h index e891802e..934a213e 100644 --- a/source/renderpass.h +++ b/source/renderpass.h @@ -63,6 +63,7 @@ private: RefPtr material; Texturing *texturing; std::map tex_names; + bool back_faces; RenderPass &operator=(const RenderPass &); public: @@ -78,6 +79,8 @@ public: void set_texture(unsigned, const Texture *); const Texturing *get_texturing() const { return texturing; } int get_texture_index(const std::string &) const; + void set_back_faces(bool); + bool get_back_faces() const { return back_faces; } void apply(Renderer &) const; };