Cortex
10.0.0-a4
|
#include <FrameBuffer.h>
Public Member Functions | |
ScopedBinding (const FrameBuffer &frameBuffer, GLenum target=GL_FRAMEBUFFER) | |
Binds the specified FrameBuffer to the specified target. | |
~ScopedBinding () | |
Rebinds the previously bound FrameBuffer. | |
The ScopedBinding class allows the FrameBuffer to be bound to a target for a specific duration, without worrying about remembering to unbind it.