Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
A texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture()
).
More...
#include <FramebufferObject.hpp>
Public Member Functions | |
FBOTextureAttachment () | |
Constructor. | |
FBOTextureAttachment (Texture *texture, int mipmap_level) | |
Constructor. | |
Protected Member Functions | |
virtual void | bindAttachment (FramebufferObject *fbo, EAttachmentPoint attach_point) |
A texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture()
).
Definition at line 410 of file FramebufferObject.hpp.
vl::FBOTextureAttachment::FBOTextureAttachment | ( | ) | [inline] |
Constructor.
Definition at line 416 of file FramebufferObject.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
vl::FBOTextureAttachment::FBOTextureAttachment | ( | Texture * | texture, |
int | mipmap_level | ||
) | [inline] |
Constructor.
Definition at line 422 of file FramebufferObject.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
void FBOTextureAttachment::bindAttachment | ( | FramebufferObject * | fbo, |
EAttachmentPoint | attach_point | ||
) | [protected, virtual] |
Implements vl::FBOAbstractAttachment.
Definition at line 415 of file FramebufferObject.cpp.
References vl::Has_GL_Version_3_2, vl::Has_GL_Version_4_0, vl::FBOAbstractTextureAttachment::mipmapLevel(), vl::TD_TEXTURE_2D_MULTISAMPLE, vl::FBOAbstractTextureAttachment::texture(), VL_CHECK, and VL_CHECK_OGL.