#include "framebuffer.h"
#include "renderable.h"
#include "renderbuffer.h"
+#include "rendertarget.h"
#include "texture2d.h"
namespace Msp {
Slot(const Renderable *);
};
- struct RenderTarget
- {
- Framebuffer fbo;
- Texture2D color;
- Texture2D depth;
-
- RenderTarget(unsigned, unsigned, PixelFormat);
- };
-
- struct MultisampleTarget
- {
- Framebuffer fbo;
- Renderbuffer color;
- Renderbuffer depth;
-
- MultisampleTarget(unsigned, unsigned, unsigned, PixelFormat);
- };
-
typedef std::list<Pass> PassList;
PassList passes;
bool hdr;
unsigned samples;
RenderTarget *target[2];
- MultisampleTarget *target_ms;
+ RenderTarget *target_ms;
mutable bool in_frame;
public: