Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <FramebufferObject.hpp>

Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| FBOTexture2DAttachment (Texture *texture, int level, ETex2DTarget target) | |
| void | setTexture (Texture *texture) |
| Texture * | texture () |
| const Texture * | texture () const |
| int | level () const |
| ETex2DTarget | textureTarget () const |
| void | setTextureTarget (ETex2DTarget target) |
| virtual void | bindAttachment (int w, int h, EAttachmentPoint attach_point) |
| Binds this renderbuffer to the currently active framebuffer object (GL_FRAMEBUFFER). | |
Protected Attributes | |
| ref< Texture > | mTexture |
| ETex2DTarget | mTextureTarget |
| int | mLevel |
Wraps the function glFramebufferTexture2DEXT.
| vl::FBOTexture2DAttachment::FBOTexture2DAttachment | ( | Texture * | texture, | |
| int | level, | |||
| ETex2DTarget | target | |||
| ) | [inline] |
| virtual const char* vl::FBOTexture2DAttachment::className | ( | ) | [inline, virtual] |
| void vl::FBOTexture2DAttachment::setTexture | ( | Texture * | texture | ) | [inline] |
| Texture* vl::FBOTexture2DAttachment::texture | ( | ) | [inline] |
| const Texture* vl::FBOTexture2DAttachment::texture | ( | ) | const [inline] |
| int vl::FBOTexture2DAttachment::level | ( | ) | const [inline] |
| ETex2DTarget vl::FBOTexture2DAttachment::textureTarget | ( | ) | const [inline] |
| void vl::FBOTexture2DAttachment::setTextureTarget | ( | ETex2DTarget | target | ) | [inline] |
| void FBOTexture2DAttachment::bindAttachment | ( | int | w, | |
| int | h, | |||
| EAttachmentPoint | attach_point | |||
| ) | [virtual] |
Binds this renderbuffer to the currently active framebuffer object (GL_FRAMEBUFFER).
This function also initializes its storage if 'w' and 'h' differ from the renderbuffer's current width() and height() and the renderbuffer is not a texture.
Implements vl::FBOAttachmentAbstract.
ref<Texture> vl::FBOTexture2DAttachment::mTexture [protected] |
int vl::FBOTexture2DAttachment::mLevel [protected] |