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

Public Member Functions | |
| FBOTexture3DAttachment (Texture *texture, int mipmap_level, int layer) | |
| virtual const char * | className () |
| Returns the name of the class. | |
| Texture * | texture () |
| const Texture * | texture () const |
| int | mipmapLevel () const |
| void | setMipmapLevel (int level) |
| int | layer () const |
| void | setLayer (int layer) |
| 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 |
| int | mMipmapLevel |
| int | mLayer |
Wraps the function glFramebufferTexture3DEXT.
| vl::FBOTexture3DAttachment::FBOTexture3DAttachment | ( | Texture * | texture, | |
| int | mipmap_level, | |||
| int | layer | |||
| ) | [inline] |
| virtual const char* vl::FBOTexture3DAttachment::className | ( | ) | [inline, virtual] |
| Texture* vl::FBOTexture3DAttachment::texture | ( | ) | [inline] |
| const Texture* vl::FBOTexture3DAttachment::texture | ( | ) | const [inline] |
| int vl::FBOTexture3DAttachment::mipmapLevel | ( | ) | const [inline] |
| void vl::FBOTexture3DAttachment::setMipmapLevel | ( | int | level | ) | [inline] |
| int vl::FBOTexture3DAttachment::layer | ( | ) | const [inline] |
| void vl::FBOTexture3DAttachment::setLayer | ( | int | layer | ) | [inline] |
| void FBOTexture3DAttachment::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::FBOTexture3DAttachment::mTexture [protected] |
int vl::FBOTexture3DAttachment::mMipmapLevel [protected] |
int vl::FBOTexture3DAttachment::mLayer [protected] |