Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
A texture layer renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTextureLayer()
).
More...
#include <FramebufferObject.hpp>
Public Member Functions | |
FBOTextureLayerAttachment () | |
Constructor. | |
FBOTextureLayerAttachment (Texture *texture, int mipmap_level, int layer) | |
Constructor. | |
int | layer () const |
The layer of a 2-dimensional image within a 3-dimensional texture or texture array. | |
void | setLayer (int layer) |
The layer of a 2-dimensional image within a 3-dimensional texture or texture array. | |
Protected Member Functions | |
virtual void | bindAttachment (FramebufferObject *fbo, EAttachmentPoint attach_point) |
Protected Attributes | |
ref< Texture > | mTexture |
int | mMipmapLevel |
int | mLayer |
A texture layer renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTextureLayer()
).
Definition at line 474 of file FramebufferObject.hpp.
vl::FBOTextureLayerAttachment::FBOTextureLayerAttachment | ( | ) | [inline] |
Constructor.
Definition at line 480 of file FramebufferObject.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
vl::FBOTextureLayerAttachment::FBOTextureLayerAttachment | ( | Texture * | texture, |
int | mipmap_level, | ||
int | layer | ||
) | [inline] |
Constructor.
Definition at line 487 of file FramebufferObject.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
int vl::FBOTextureLayerAttachment::layer | ( | ) | const [inline] |
The layer of a 2-dimensional image within a 3-dimensional texture or texture array.
Definition at line 494 of file FramebufferObject.hpp.
Referenced by bindAttachment().
void vl::FBOTextureLayerAttachment::setLayer | ( | int | layer ) | [inline] |
The layer of a 2-dimensional image within a 3-dimensional texture or texture array.
Definition at line 497 of file FramebufferObject.hpp.
void FBOTextureLayerAttachment::bindAttachment | ( | FramebufferObject * | fbo, |
EAttachmentPoint | attach_point | ||
) | [protected, virtual] |
Implements vl::FBOAbstractAttachment.
Definition at line 463 of file FramebufferObject.cpp.
References vl::Has_FBO, vl::Has_GL_Version_3_2, vl::Has_GL_Version_4_0, vl::Texture::height(), vl::Framebuffer::height(), layer(), vl::FBOAbstractTextureAttachment::mipmapLevel(), vl::TD_TEXTURE_2D_MULTISAMPLE_ARRAY, vl::FBOAbstractTextureAttachment::texture(), VL_CHECK, VL_CHECK_OGL, vl::Texture::width(), and vl::Framebuffer::width().
ref<Texture> vl::FBOTextureLayerAttachment::mTexture [protected] |
Reimplemented from vl::FBOAbstractTextureAttachment.
Definition at line 503 of file FramebufferObject.hpp.
int vl::FBOTextureLayerAttachment::mMipmapLevel [protected] |
Reimplemented from vl::FBOAbstractTextureAttachment.
Definition at line 504 of file FramebufferObject.hpp.
int vl::FBOTextureLayerAttachment::mLayer [protected] |
Definition at line 505 of file FramebufferObject.hpp.