#define MSP_GL_FRAMEBUFFER_H_
#include <vector>
+#include "color.h"
#include "frameformat.h"
#include "gl.h"
#include "texturecube.h"
static Framebuffer &system();
};
+
+union ClearValue
+{
+ Color color;
+ struct
+ {
+ float depth;
+ int stencil;
+ } depth_stencil;
+
+ ClearValue(): color(0.0f, 0.0f, 0.0f, 0.0f) { }
+};
+
inline BufferBits operator|(BufferBits a, BufferBits b)
{ return static_cast<BufferBits>(static_cast<int>(a)|static_cast<int>(b)); }