#define MSP_GL_RENDERBUFFER_H_
#include "pixelformat.h"
-#include "types.h"
namespace Msp {
namespace GL {
class Renderbuffer
{
private:
- uint id;
+ unsigned id;
+ unsigned width;
+ unsigned height;
public:
Renderbuffer();
~Renderbuffer();
- uint get_id() const { return id; }
+ unsigned get_id() const { return id; }
+ unsigned get_width() const { return width; }
+ unsigned get_height() const { return height; }
void bind() const;
- void storage(PixelFormat fmt, sizei width, sizei height);
+ void storage(PixelFormat fmt, unsigned width, unsigned height);
};
} // namespace GL