Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
A texture layer renderbuffer to be attached to a FBORenderTarget (wraps glFramebufferTextureLayer()).
More...
#include <FramebufferObject.hpp>
Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| 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 (FBORenderTarget *fbo, EAttachmentPoint attach_point) |
Protected Attributes | |
| ref< Texture > | mTexture |
| int | mMipmapLevel |
| int | mLayer |
A texture layer renderbuffer to be attached to a FBORenderTarget (wraps glFramebufferTextureLayer()).
Definition at line 446 of file FramebufferObject.hpp.
| vl::FBOTextureLayerAttachment::FBOTextureLayerAttachment | ( | Texture * | texture, |
| int | mipmap_level, | ||
| int | layer | ||
| ) | [inline] |
Constructor.
Definition at line 452 of file FramebufferObject.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
| virtual const char* vl::FBOTextureLayerAttachment::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::FBOAbstractTextureAttachment.
Definition at line 449 of file FramebufferObject.hpp.
| int vl::FBOTextureLayerAttachment::layer | ( | ) | const [inline] |
The layer of a 2-dimensional image within a 3-dimensional texture or texture array.
Definition at line 459 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 462 of file FramebufferObject.hpp.
| void FBOTextureLayerAttachment::bindAttachment | ( | FBORenderTarget * | fbo, |
| EAttachmentPoint | attach_point | ||
| ) | [protected, virtual] |
Implements vl::FBOAbstractAttachment.
Definition at line 461 of file FramebufferObject.cpp.
References GLEW_Has_Framebuffer_Object, vl::Texture::height(), vl::RenderTarget::height(), layer(), vl::FBOAbstractTextureAttachment::mipmapLevel(), vl::TD_TEXTURE_2D_MULTISAMPLE_ARRAY, vl::FBOAbstractTextureAttachment::texture(), VL_CHECK, VL_CHECK_OGL, vl::VL_glFramebufferTextureLayer(), vl::Texture::width(), and vl::RenderTarget::width().
ref<Texture> vl::FBOTextureLayerAttachment::mTexture [protected] |
Reimplemented from vl::FBOAbstractTextureAttachment.
Definition at line 468 of file FramebufferObject.hpp.
int vl::FBOTextureLayerAttachment::mMipmapLevel [protected] |
Reimplemented from vl::FBOAbstractTextureAttachment.
Definition at line 469 of file FramebufferObject.hpp.
int vl::FBOTextureLayerAttachment::mLayer [protected] |
Definition at line 470 of file FramebufferObject.hpp.