3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GL_RENDERBUFFER_H_
9 #define MSP_GL_RENDERBUFFER_H_
11 #include "pixelformat.h"
18 A Renderbuffer contains a single renderable image. It can be attached to a
19 Framebuffer to provide a logical buffer that is required to render the scene
20 correctly but that is not needed as a texture later.
22 Requires the GL_EXT_framebuffer_object extension.
33 uint get_id() const { return id; }
37 void storage(PixelFormat fmt, sizei width, sizei height);