Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
A texture renderbuffer to be attached to a FBORenderTarget (wraps glFramebufferTexture()).
More...
#include <FramebufferObject.hpp>
Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| FBOTextureAttachment (Texture *texture, int mipmap_level) | |
| Constructor. | |
Protected Member Functions | |
| virtual void | bindAttachment (FBORenderTarget *fbo, EAttachmentPoint attach_point) |
A texture renderbuffer to be attached to a FBORenderTarget (wraps glFramebufferTexture()).
Definition at line 394 of file FramebufferObject.hpp.
| vl::FBOTextureAttachment::FBOTextureAttachment | ( | Texture * | texture, |
| int | mipmap_level | ||
| ) | [inline] |
Constructor.
Definition at line 400 of file FramebufferObject.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
| virtual const char* vl::FBOTextureAttachment::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::FBOAbstractTextureAttachment.
Definition at line 397 of file FramebufferObject.hpp.
| void FBOTextureAttachment::bindAttachment | ( | FBORenderTarget * | fbo, |
| EAttachmentPoint | attach_point | ||
| ) | [protected, virtual] |
Implements vl::FBOAbstractAttachment.
Definition at line 413 of file FramebufferObject.cpp.
References vl::FBOAbstractTextureAttachment::mipmapLevel(), vl::TD_TEXTURE_2D_MULTISAMPLE, vl::FBOAbstractTextureAttachment::texture(), VL_CHECK, VL_CHECK_OGL, and vl::VL_glFramebufferTexture().