A texture layer renderbuffer to be attached to a framebuffer object rendering target (FBORenderTarget).
More...
#include <FramebufferObject.hpp>
List of all members.
Detailed Description
A texture layer renderbuffer to be attached to a framebuffer object rendering target (FBORenderTarget).
Wraps the function glFramebufferTextureLayerEXT from GL_EXT_texture_array and GL_ARB_geometry_shader4.
Constructor & Destructor Documentation
| vl::FBOTextureLayerAttachment::FBOTextureLayerAttachment |
( |
Texture * |
texture, |
|
|
int |
mipmap_level, |
|
|
int |
layer |
|
) |
| [inline] |
Member Function Documentation
| virtual const char* vl::FBOTextureLayerAttachment::className |
( |
) |
[inline, virtual] |
| Texture* vl::FBOTextureLayerAttachment::texture |
( |
) |
[inline] |
| const Texture* vl::FBOTextureLayerAttachment::texture |
( |
) |
const [inline] |
| int vl::FBOTextureLayerAttachment::mipmapLevel |
( |
) |
const [inline] |
| void vl::FBOTextureLayerAttachment::setMipmapLevel |
( |
int |
level ) |
[inline] |
| int vl::FBOTextureLayerAttachment::layer |
( |
) |
const [inline] |
| void vl::FBOTextureLayerAttachment::setLayer |
( |
int |
layer ) |
[inline] |
| void FBOTextureLayerAttachment::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.
Member Data Documentation
The documentation for this class was generated from the following files: