X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frenderer.h;h=866881c7b66aeebb8b913c43af4ee14b357c1885;hb=2157e9320c60d561208dfdf6034e9a06781c9f30;hp=8dbe779f32b78f6a8e1bf108c084ad7a4f2afba7;hpb=90a26a1740d5843b60d07d9c39d8567bfed5189c;p=libs%2Fgl.git diff --git a/source/renderer.h b/source/renderer.h index 8dbe779f..866881c7 100644 --- a/source/renderer.h +++ b/source/renderer.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2011 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_RENDERER_H_ #define MSP_GL_RENDERER_H_ @@ -23,6 +16,7 @@ class ProgramData; class Texture; class Texturing; class VertexArray; +class WindingTest; /** A class for supervising the rendering process. While many Renderables (in @@ -52,6 +46,7 @@ private: const Material *material; const Program *shprog; std::vector shdata; + const WindingTest *winding_test; State(); }; @@ -91,6 +86,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();