simple helper class--put this on the stack and it will automatically call Framebuffer::setupForRendering() and Framebuffer::endRendering() for you. More...
#include <framebuffer.h>

Public Member Functions | |
| FramebufferContext (IN Framebuffer *fbuffer, IN int textureId, IN const render_context_t &rc) | |
| constructor: you must provide the Framebuffer and texture, and the render context will be prepared for you. | |
| ~FramebufferContext (void) throw () | |
| destructor: automatically cleans up | |
simple helper class--put this on the stack and it will automatically call Framebuffer::setupForRendering() and Framebuffer::endRendering() for you.
Definition at line 87 of file framebuffer.h.
| glut::FramebufferContext::FramebufferContext | ( | IN Framebuffer * | fbuffer, | |
| IN int | textureId, | |||
| IN const render_context_t & | rc | |||
| ) | [inline] |
constructor: you must provide the Framebuffer and texture, and the render context will be prepared for you.
Definition at line 91 of file framebuffer.h.
| glut::FramebufferContext::~FramebufferContext | ( | void | ) | throw () [inline] |
destructor: automatically cleans up
Definition at line 101 of file framebuffer.h.
1.7.1