Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Base class for all the framebuffer texture attachments (see also FBORenderTarget). More...
#include <FramebufferObject.hpp>
Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| FBOAbstractTextureAttachment (Texture *texture, int mipmap_level) | |
| Constructor. | |
| void | setTexture (Texture *texture) |
| The texture bound to this attachment. | |
| Texture * | texture () |
| The texture bound to this attachment. | |
| const Texture * | texture () const |
| The texture bound to this attachment. | |
| void | setMipmapLevel (int mipmap_level) |
| The mipmap level of the texture to attach. | |
| int | mipmapLevel () const |
| The mipmap level of the texture to attach. | |
Protected Attributes | |
| ref< Texture > | mTexture |
| int | mMipmapLevel |
Base class for all the framebuffer texture attachments (see also FBORenderTarget).
Definition at line 305 of file FramebufferObject.hpp.
| vl::FBOAbstractTextureAttachment::FBOAbstractTextureAttachment | ( | Texture * | texture, |
| int | mipmap_level | ||
| ) | [inline] |
Constructor.
Definition at line 311 of file FramebufferObject.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
| virtual const char* vl::FBOAbstractTextureAttachment::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::FBOAbstractAttachment.
Reimplemented in vl::FBOTexture1DAttachment, vl::FBOTexture2DAttachment, vl::FBOTextureAttachment, vl::FBOTexture3DAttachment, and vl::FBOTextureLayerAttachment.
Definition at line 308 of file FramebufferObject.hpp.
| void vl::FBOAbstractTextureAttachment::setTexture | ( | Texture * | texture ) | [inline] |
The texture bound to this attachment.
Definition at line 317 of file FramebufferObject.hpp.
| Texture* vl::FBOAbstractTextureAttachment::texture | ( | ) | [inline] |
The texture bound to this attachment.
Definition at line 320 of file FramebufferObject.hpp.
Referenced by vl::FBOTextureLayerAttachment::bindAttachment(), vl::FBOTexture3DAttachment::bindAttachment(), vl::FBOTextureAttachment::bindAttachment(), vl::FBOTexture2DAttachment::bindAttachment(), and vl::FBOTexture1DAttachment::bindAttachment().
| const Texture* vl::FBOAbstractTextureAttachment::texture | ( | ) | const [inline] |
The texture bound to this attachment.
Definition at line 323 of file FramebufferObject.hpp.
| void vl::FBOAbstractTextureAttachment::setMipmapLevel | ( | int | mipmap_level ) | [inline] |
The mipmap level of the texture to attach.
Definition at line 326 of file FramebufferObject.hpp.
| int vl::FBOAbstractTextureAttachment::mipmapLevel | ( | ) | const [inline] |
The mipmap level of the texture to attach.
Definition at line 329 of file FramebufferObject.hpp.
Referenced by vl::FBOTextureLayerAttachment::bindAttachment(), vl::FBOTexture3DAttachment::bindAttachment(), vl::FBOTextureAttachment::bindAttachment(), vl::FBOTexture2DAttachment::bindAttachment(), and vl::FBOTexture1DAttachment::bindAttachment().
ref<Texture> vl::FBOAbstractTextureAttachment::mTexture [protected] |
Reimplemented in vl::FBOTextureLayerAttachment.
Definition at line 332 of file FramebufferObject.hpp.
int vl::FBOAbstractTextureAttachment::mMipmapLevel [protected] |
Reimplemented in vl::FBOTextureLayerAttachment.
Definition at line 333 of file FramebufferObject.hpp.