SimpleGL
1.1.0
A framework for platform independent rendering
|
This class wraps an OpenGL renderbuffer object. More...
#include <framebuffer_object.hpp>
Public Member Functions | |
Renderbuffer (void) | |
Generates a new renderbuffer object. More... | |
~Renderbuffer (void) | |
Deletes the renderbuffer object. More... | |
GLuint | getHandle () |
Returns the handle of the renderbuffer object. More... | |
void | bind () |
Binds the renderbuffer object. More... | |
void | storage (int width, int height) |
Allocates data storage, format and dimensions of the renderbuffer object. More... | |
This class wraps an OpenGL renderbuffer object.
Definition at line 24 of file framebuffer_object.hpp.
sgl::Renderbuffer::Renderbuffer | ( | void | ) |
Generates a new renderbuffer object.
Definition at line 13 of file framebuffer_object.cpp.
sgl::Renderbuffer::~Renderbuffer | ( | void | ) |
Deletes the renderbuffer object.
Definition at line 17 of file framebuffer_object.cpp.
void sgl::Renderbuffer::bind | ( | ) |
Binds the renderbuffer object.
Definition at line 30 of file framebuffer_object.cpp.
GLuint sgl::Renderbuffer::getHandle | ( | ) |
Returns the handle of the renderbuffer object.
Definition at line 26 of file framebuffer_object.cpp.
void sgl::Renderbuffer::storage | ( | int | width, |
int | height | ||
) |
Allocates data storage, format and dimensions of the renderbuffer object.
width | The width of the renderbuffer object in pixel. |
height | The height of the renderbuffer object in pixel. |
Definition at line 41 of file framebuffer_object.cpp.