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 FBORenderTarget (wraps glFramebufferTexture1D()).
More...
#include <FramebufferObject.hpp>
Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| FBOTexture1DAttachment (Texture *texture, int mipmap_level) | |
| Constructor. | |
Protected Member Functions | |
| virtual void | bindAttachment (FBORenderTarget *fbo, EAttachmentPoint attach_point) |
A 1D texture renderbuffer to be attached to a FBORenderTarget (wraps glFramebufferTexture1D()).
Definition at line 342 of file FramebufferObject.hpp.
| vl::FBOTexture1DAttachment::FBOTexture1DAttachment | ( | Texture * | texture, |
| int | mipmap_level | ||
| ) | [inline] |
Constructor.
Definition at line 348 of file FramebufferObject.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
| virtual const char* vl::FBOTexture1DAttachment::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::FBOAbstractTextureAttachment.
Definition at line 345 of file FramebufferObject.hpp.
| void FBOTexture1DAttachment::bindAttachment | ( | FBORenderTarget * | fbo, |
| EAttachmentPoint | attach_point | ||
| ) | [protected, virtual] |
Implements vl::FBOAbstractAttachment.
Definition at line 357 of file FramebufferObject.cpp.
References GLEW_Has_Framebuffer_Object, vl::FBOAbstractTextureAttachment::mipmapLevel(), vl::FBOAbstractTextureAttachment::texture(), VL_CHECK, VL_CHECK_OGL, vl::VL_glFramebufferTexture1D(), vl::Texture::width(), and vl::RenderTarget::width().