Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Abstract class that represents a framebuffer object attachment to be used with FramebufferObject. More...
#include <FramebufferObject.hpp>
Public Member Functions | |
FBOAbstractAttachment () | |
Constructor. | |
virtual | ~FBOAbstractAttachment () |
Destructor. | |
virtual void | unbindFromAllFBO () |
Removes the FBO attachment from all bound FBO render targets. | |
const std::set< ref < FramebufferObject > > & | fboFramebuffers () const |
Returns an std::set containing the FramebufferObject that use this FBO attachment. | |
Protected Member Functions | |
virtual void | bindAttachment (FramebufferObject *fbo, EAttachmentPoint attach_point)=0 |
Protected Attributes | |
std::set< ref < FramebufferObject > > | mFramebufferObjects |
Friends | |
class | FramebufferObject |
Abstract class that represents a framebuffer object attachment to be used with FramebufferObject.
Definition at line 49 of file FramebufferObject.hpp.
vl::FBOAbstractAttachment::FBOAbstractAttachment | ( | ) | [inline] |
Constructor.
Definition at line 62 of file FramebufferObject.hpp.
virtual vl::FBOAbstractAttachment::~FBOAbstractAttachment | ( | ) | [inline, virtual] |
void FBOAbstractAttachment::unbindFromAllFBO | ( | ) | [virtual] |
Removes the FBO attachment from all bound FBO render targets.
Definition at line 493 of file FramebufferObject.cpp.
References fboFramebuffers().
Referenced by vl::FBORenderbufferAttachment::deleteRenderBuffer().
const std::set< ref<FramebufferObject> >& vl::FBOAbstractAttachment::fboFramebuffers | ( | ) | const [inline] |
Returns an std::set containing the FramebufferObject that use this FBO attachment.
Definition at line 71 of file FramebufferObject.hpp.
Referenced by unbindFromAllFBO().
virtual void vl::FBOAbstractAttachment::bindAttachment | ( | FramebufferObject * | fbo, |
EAttachmentPoint | attach_point | ||
) | [protected, pure virtual] |
Implemented in vl::FBORenderbufferAttachment, vl::FBOTexture1DAttachment, vl::FBOTexture2DAttachment, vl::FBOTextureAttachment, vl::FBOTexture3DAttachment, and vl::FBOTextureLayerAttachment.
Referenced by vl::FramebufferObject::addDepthAttachment(), vl::FramebufferObject::addDepthStencilAttachment(), vl::FramebufferObject::addStencilAttachment(), and vl::FramebufferObject::addTextureAttachment().
friend class FramebufferObject [friend] |
Reimplemented in vl::FBORenderbufferAttachment.
Definition at line 53 of file FramebufferObject.hpp.
std::set< ref<FramebufferObject> > vl::FBOAbstractAttachment::mFramebufferObjects [protected] |
Definition at line 77 of file FramebufferObject.hpp.
Referenced by vl::FramebufferObject::addColorAttachment(), vl::FramebufferObject::addDepthAttachment(), vl::FramebufferObject::addDepthStencilAttachment(), vl::FramebufferObject::addStencilAttachment(), vl::FramebufferObject::addTextureAttachment(), and vl::FramebufferObject::removeAttachment().