#include <set>
#include <vector>
+#include "commands.h"
#include "framebuffer.h"
#include "matrix.h"
#include "pipelinestate.h"
std::vector<BoundProgramData> shdata_stack;
std::set<const Renderable *> excluded;
PipelineState pipeline_state;
+ Commands commands;
public:
Renderer();
void exclude(const Renderable &);
void include(const Renderable &);
- void clear();
- void clear(BufferBits);
+ void clear(const ClearValue *);
void render(const Renderable &, Tag = Tag());
void draw(const Batch &);
void draw_instanced(const Batch &, unsigned);
- void resolve_multisample(Framebuffer &, BufferBits);
+ void resolve_multisample(Framebuffer &);
private:
void apply_state();