Cortex  10.0.0-a4
Public Member Functions | List of all members
IECoreGL::FrameBuffer::ScopedBinding Class Reference

#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.
 

Detailed Description

The ScopedBinding class allows the FrameBuffer to be bound to a target for a specific duration, without worrying about remembering to unbind it.


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