ACG::FBO Class Reference

#include <AC>

List of all members.

Public Member Functions

 FBO ()
 Default constructor.
 ~FBO ()
 Destructor.
void init ()
 function to generate the framebuffer object
void attachTexture2D (GLenum _attachment, GLuint _texture)
 function to attach a texture to fbo
void addDepthBuffer (GLuint _width, GLuint _height)
 function to add a depth buffer to the fbo
void addStencilBuffer (GLuint _width, GLuint _height)
 function to add a stencil buffer to the fbo
bool bind ()
 bind the fbo and sets it as rendertarget
void unbind ()
 unbind fbo, go to normal rendering mode
bool checkFramebufferStatus ()
 function to check the framebuffer status

Private Attributes

GLuint fbo_
 handle of frame buffer object
GLuint depthbuffer_
 depthbuffer
GLuint stencilbuffer_
 stencilbuffer

Detailed Description

/.../FBO.hh>

Brief Description.

A more elaborate description follows.

Definition at line 39 of file FBO.hh.


The documentation for this class was generated from the following files:

acg pic Project OpenFlipper, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .