Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
A 1D texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture1D()).
More...
#include <FramebufferObject.hpp>
Public Member Functions | |
| FBOTexture1DAttachment () | |
| Constructor. | |
| FBOTexture1DAttachment (Texture *texture, int mipmap_level) | |
| Constructor. | |
Protected Member Functions | |
| virtual void | bindAttachment (FramebufferObject *fbo, EAttachmentPoint attach_point) |
A 1D texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture1D()).
Definition at line 345 of file FramebufferObject.hpp.
| vl::FBOTexture1DAttachment::FBOTexture1DAttachment | ( | ) | [inline] |
Constructor.
Definition at line 351 of file FramebufferObject.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
| vl::FBOTexture1DAttachment::FBOTexture1DAttachment | ( | Texture * | texture, |
| int | mipmap_level | ||
| ) | [inline] |
Constructor.
Definition at line 357 of file FramebufferObject.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
| void FBOTexture1DAttachment::bindAttachment | ( | FramebufferObject * | fbo, |
| EAttachmentPoint | attach_point | ||
| ) | [protected, virtual] |
Implements vl::FBOAbstractAttachment.
Definition at line 362 of file FramebufferObject.cpp.
References vl::Has_FBO, vl::FBOAbstractTextureAttachment::mipmapLevel(), vl::FBOAbstractTextureAttachment::texture(), VL_CHECK, VL_CHECK_OGL, vl::Texture::width(), and vl::Framebuffer::width().