]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/renderer.h
Create a class for issuing drawing commands
[libs/gl.git] / source / render / renderer.h
index 7997b35cd7618f0aab6d9109f71f72bcadfd7156..ff2c2a2fb49207de2dc7c236563d5365d4eb3d79 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <set>
 #include <vector>
+#include "commands.h"
 #include "framebuffer.h"
 #include "matrix.h"
 #include "pipelinestate.h"
@@ -119,6 +120,7 @@ private:
        std::vector<BoundProgramData> shdata_stack;
        std::set<const Renderable *> excluded;
        PipelineState pipeline_state;
+       Commands commands;
 
 public:
        Renderer();