Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Abstract class that represents a framebuffer object attachment, i.e. More...
#include <FramebufferObject.hpp>
Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| FBOAttachmentAbstract () | |
| Constructor. | |
| virtual | ~FBOAttachmentAbstract () |
| Destructor. | |
| virtual void | destroy () |
| virtual void | bindAttachment (int w, int h, EAttachmentPoint attach_point)=0 |
| Binds this renderbuffer to the currently active framebuffer object (GL_FRAMEBUFFER). | |
| const std::set< ref < FBORenderTarget > > & | fboRenderTargets () const |
| Returns an std::set containing the FBORenderTarget that use this FBO attachment. | |
Protected Attributes | |
| std::set< ref< FBORenderTarget > > | mFBORenderTargets |
Friends | |
| class | FBORenderTarget |
Abstract class that represents a framebuffer object attachment, i.e.
a texture or renderbuffer attachment.
| vl::FBOAttachmentAbstract::FBOAttachmentAbstract | ( | ) | [inline] |
Constructor.
| virtual vl::FBOAttachmentAbstract::~FBOAttachmentAbstract | ( | ) | [inline, virtual] |
Destructor.
| virtual const char* vl::FBOAttachmentAbstract::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::Object.
Reimplemented in vl::FBORenderbufferAttachment, vl::FBOColorBufferAttachment, vl::FBODepthBufferAttachment, vl::FBOStencilBufferAttachment, vl::FBODepthStencilBufferAttachment, vl::FBOTexture1DAttachment, vl::FBOTexture2DAttachment, vl::FBOTextureAttachment, vl::FBOTexture3DAttachment, and vl::FBOTextureLayerAttachment.
| void FBOAttachmentAbstract::destroy | ( | ) | [virtual] |
Reimplemented in vl::FBORenderbufferAttachment.
| virtual void vl::FBOAttachmentAbstract::bindAttachment | ( | int | w, |
| int | h, | ||
| EAttachmentPoint | attach_point | ||
| ) | [pure virtual] |
Binds this renderbuffer to the currently active framebuffer object (GL_FRAMEBUFFER).
This function also initializes its storage if 'w' and 'h' differ from the renderbuffer's current width() and height() and the renderbuffer is not a texture.
Implemented in vl::FBOColorBufferAttachment, vl::FBODepthBufferAttachment, vl::FBOStencilBufferAttachment, vl::FBODepthStencilBufferAttachment, vl::FBOTexture1DAttachment, vl::FBOTexture2DAttachment, vl::FBOTextureAttachment, vl::FBOTexture3DAttachment, and vl::FBOTextureLayerAttachment.
| const std::set< ref<FBORenderTarget> >& vl::FBOAttachmentAbstract::fboRenderTargets | ( | ) | const [inline] |
Returns an std::set containing the FBORenderTarget that use this FBO attachment.
friend class FBORenderTarget [friend] |
Reimplemented in vl::FBORenderbufferAttachment.
std::set< ref<FBORenderTarget> > vl::FBOAttachmentAbstract::mFBORenderTargets [protected] |