Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Base class for all the framebuffer texture attachments (see also FramebufferObject). More...
#include <FramebufferObject.hpp>
Public Member Functions | |
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 FramebufferObject).
Definition at line 308 of file FramebufferObject.hpp.
vl::FBOAbstractTextureAttachment::FBOAbstractTextureAttachment | ( | Texture * | texture, |
int | mipmap_level | ||
) | [inline] |
Constructor.
Definition at line 314 of file FramebufferObject.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
void vl::FBOAbstractTextureAttachment::setTexture | ( | Texture * | texture ) | [inline] |
The texture bound to this attachment.
Definition at line 320 of file FramebufferObject.hpp.
Texture* vl::FBOAbstractTextureAttachment::texture | ( | ) | [inline] |
The texture bound to this attachment.
Definition at line 323 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 326 of file FramebufferObject.hpp.
void vl::FBOAbstractTextureAttachment::setMipmapLevel | ( | int | mipmap_level ) | [inline] |
The mipmap level of the texture to attach.
Definition at line 329 of file FramebufferObject.hpp.
int vl::FBOAbstractTextureAttachment::mipmapLevel | ( | ) | const [inline] |
The mipmap level of the texture to attach.
Definition at line 332 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 335 of file FramebufferObject.hpp.
int vl::FBOAbstractTextureAttachment::mMipmapLevel [protected] |
Reimplemented in vl::FBOTextureLayerAttachment.
Definition at line 336 of file FramebufferObject.hpp.