X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fpipelinestate.h;h=b9fac143c7b9784773970b5710de7f9bdb9e80d8;hb=3e38e8a7bfffb0b6d622b849b402f4f04a7536c4;hp=5c3bb9ceb997e51876b4e6a650aae8c350955181;hpb=b466adff89db080c304ac3178ce1f4fef844cb28;p=libs%2Fgl.git diff --git a/source/core/pipelinestate.h b/source/core/pipelinestate.h index 5c3bb9ce..b9fac143 100644 --- a/source/core/pipelinestate.h +++ b/source/core/pipelinestate.h @@ -76,6 +76,8 @@ private: static const PipelineState *last_applied; static std::vector bound_tex_targets; + static std::vector bound_uniform_blocks; + static unsigned restart_index; public: PipelineState(); @@ -103,6 +105,7 @@ public: void set_stencil_test(const StencilTest *); void set_blend(const Blend *); + const Framebuffer *get_framebuffer() const { return framebuffer; } const Program *get_shader_program() const { return shprog; } const VertexSetup *get_vertex_setup() const { return vertex_setup; } FaceWinding get_front_face() const { return front_face; }