#include "color.h"
#include "framebuffer_backend.h"
#include "frameformat.h"
+#include "rect.h"
#include "texturecube.h"
namespace Msp {
std::vector<Attachment> attachments;
unsigned width = 0;
unsigned height = 0;
+ unsigned layers = 0;
mutable unsigned dirty = 0;
Framebuffer(bool);
unsigned get_width() const { return width; }
unsigned get_height() const { return height; }
+ Rect get_rect() const { return Rect(0, 0, width, height); }
+ unsigned get_layers() const { return layers; }
protected:
void update() const;