Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Member Functions | Protected Attributes | Friends

vl::FBOAbstractAttachment Class Reference

Abstract class that represents a framebuffer object attachment to be used with FramebufferObject. More...

#include <FramebufferObject.hpp>

Inheritance diagram for vl::FBOAbstractAttachment:
vl::Object vl::FBOAbstractTextureAttachment vl::FBORenderbufferAttachment vl::FBOTexture1DAttachment vl::FBOTexture2DAttachment vl::FBOTexture3DAttachment vl::FBOTextureAttachment vl::FBOTextureLayerAttachment vl::FBOColorBufferAttachment vl::FBODepthBufferAttachment vl::FBODepthStencilBufferAttachment vl::FBOStencilBufferAttachment

List of all members.

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

Detailed Description

Abstract class that represents a framebuffer object attachment to be used with FramebufferObject.

Definition at line 49 of file FramebufferObject.hpp.


Constructor & Destructor Documentation

vl::FBOAbstractAttachment::FBOAbstractAttachment ( ) [inline]

Constructor.

Definition at line 62 of file FramebufferObject.hpp.

virtual vl::FBOAbstractAttachment::~FBOAbstractAttachment ( ) [inline, virtual]

Destructor.

Definition at line 65 of file FramebufferObject.hpp.

References VL_CHECK.


Member Function Documentation

void FBOAbstractAttachment::unbindFromAllFBO ( ) [virtual]

Removes the FBO attachment from all bound FBO render targets.

Definition at line 496 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]

Friends And Related Function Documentation

friend class FramebufferObject [friend]

Reimplemented in vl::FBORenderbufferAttachment.

Definition at line 53 of file FramebufferObject.hpp.


Member Data Documentation


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

Visualization Library 2011.09.1160 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu May 2 2013 13:41:28.
Permission is granted to use this page to write and publish articles regarding Visualization Library.