X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frenderer.h;h=ef17b3e62043ad847969f4b7e6102854e52fc55c;hb=f9b2b3330ad7234721ad3f971a7cbc0226a017d7;hp=8dbe779f32b78f6a8e1bf108c084ad7a4f2afba7;hpb=90a26a1740d5843b60d07d9c39d8567bfed5189c;p=libs%2Fgl.git diff --git a/source/renderer.h b/source/renderer.h index 8dbe779f..ef17b3e6 100644 --- a/source/renderer.h +++ b/source/renderer.h @@ -23,6 +23,7 @@ class ProgramData; class Texture; class Texturing; class VertexArray; +class WindingTest; /** A class for supervising the rendering process. While many Renderables (in @@ -52,6 +53,7 @@ private: const Material *material; const Program *shprog; std::vector shdata; + const WindingTest *winding_test; State(); }; @@ -91,6 +93,7 @@ public: void add_shader_data(const ProgramData *); void set_vertex_array(const VertexArray *); void set_element_buffer(const Buffer *); + void set_winding_test(const WindingTest *); void push_state(); void pop_state();