Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [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 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]

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 v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:10.
Permission is granted to use this page to write and publish articles regarding Visualization Library.