Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
A 3D texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture3D()
).
More...
#include <FramebufferObject.hpp>
Public Member Functions | |
FBOTexture3DAttachment () | |
FBOTexture3DAttachment (Texture *texture, int mipmap_level, int layer) | |
void | setLayer (int layer) |
The layer of a 2-dimensional image within a 3-dimensional texture. | |
int | layer () const |
The layer of a 2-dimensional image within a 3-dimensional texture. | |
Protected Member Functions | |
virtual void | bindAttachment (FramebufferObject *fbo, EAttachmentPoint attach_point) |
Protected Attributes | |
int | mLayer |
A 3D texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture3D()
).
Definition at line 438 of file FramebufferObject.hpp.
vl::FBOTexture3DAttachment::FBOTexture3DAttachment | ( | ) | [inline] |
Definition at line 443 of file FramebufferObject.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
vl::FBOTexture3DAttachment::FBOTexture3DAttachment | ( | Texture * | texture, |
int | mipmap_level, | ||
int | layer | ||
) | [inline] |
Definition at line 449 of file FramebufferObject.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
void vl::FBOTexture3DAttachment::setLayer | ( | int | layer ) | [inline] |
The layer of a 2-dimensional image within a 3-dimensional texture.
Definition at line 456 of file FramebufferObject.hpp.
int vl::FBOTexture3DAttachment::layer | ( | ) | const [inline] |
The layer of a 2-dimensional image within a 3-dimensional texture.
Definition at line 459 of file FramebufferObject.hpp.
Referenced by bindAttachment().
void FBOTexture3DAttachment::bindAttachment | ( | FramebufferObject * | fbo, |
EAttachmentPoint | attach_point | ||
) | [protected, virtual] |
Implements vl::FBOAbstractAttachment.
Definition at line 436 of file FramebufferObject.cpp.
References vl::Has_FBO, 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().
int vl::FBOTexture3DAttachment::mLayer [protected] |
Definition at line 465 of file FramebufferObject.hpp.