unsigned samples;
RenderTarget *target[2];
MultisampleTarget *target_ms;
+ mutable bool in_frame;
public:
Pipeline(unsigned, unsigned, bool = false);
void remove_renderable(const Renderable &);
void add_postprocessor(PostProcessor &);
+ virtual void setup_frame() const;
+ virtual void finish_frame() const;
+
virtual void render(const Tag &tag = Tag()) const;
virtual void render(Renderer &, const Tag &tag = Tag()) const;
private:
- void create_targets(bool);
+ void create_targets(unsigned);
};
} // namespace GL