Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Member Functions | Protected Attributes

vl::FBOTextureLayerAttachment Class Reference

A texture layer renderbuffer to be attached to a FBORenderTarget (wraps glFramebufferTextureLayer()). More...

#include <FramebufferObject.hpp>

Inheritance diagram for vl::FBOTextureLayerAttachment:
vl::FBOAbstractTextureAttachment vl::FBOAbstractAttachment vl::Object

List of all members.

Public Member Functions

virtual const char * className ()
 Returns the name of the class.
 FBOTextureLayerAttachment (Texture *texture, int mipmap_level, int layer)
 Constructor.
int layer () const
 The layer of a 2-dimensional image within a 3-dimensional texture or texture array.
void setLayer (int layer)
 The layer of a 2-dimensional image within a 3-dimensional texture or texture array.

Protected Member Functions

virtual void bindAttachment (FBORenderTarget *fbo, EAttachmentPoint attach_point)

Protected Attributes

ref< TexturemTexture
int mMipmapLevel
int mLayer

Detailed Description

A texture layer renderbuffer to be attached to a FBORenderTarget (wraps glFramebufferTextureLayer()).

See also:
http://www.opengl.org/sdk/docs/man3/xhtml/glFramebufferTextureLayer.xml

Definition at line 446 of file FramebufferObject.hpp.


Constructor & Destructor Documentation

vl::FBOTextureLayerAttachment::FBOTextureLayerAttachment ( Texture texture,
int  mipmap_level,
int  layer 
) [inline]

Constructor.

Definition at line 452 of file FramebufferObject.hpp.

References VL_DEBUG_SET_OBJECT_NAME.


Member Function Documentation

virtual const char* vl::FBOTextureLayerAttachment::className (  ) [inline, virtual]

Returns the name of the class.

Reimplemented from vl::FBOAbstractTextureAttachment.

Definition at line 449 of file FramebufferObject.hpp.

int vl::FBOTextureLayerAttachment::layer (  ) const [inline]

The layer of a 2-dimensional image within a 3-dimensional texture or texture array.

Definition at line 459 of file FramebufferObject.hpp.

Referenced by bindAttachment().

void vl::FBOTextureLayerAttachment::setLayer ( int  layer ) [inline]

The layer of a 2-dimensional image within a 3-dimensional texture or texture array.

Definition at line 462 of file FramebufferObject.hpp.

void FBOTextureLayerAttachment::bindAttachment ( FBORenderTarget fbo,
EAttachmentPoint  attach_point 
) [protected, virtual]

Member Data Documentation

Reimplemented from vl::FBOAbstractTextureAttachment.

Definition at line 468 of file FramebufferObject.hpp.

Reimplemented from vl::FBOAbstractTextureAttachment.

Definition at line 469 of file FramebufferObject.hpp.

Definition at line 470 of file FramebufferObject.hpp.


The documentation for this class was generated from the following files:

Visualization Library v2011.05.1142 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu May 26 2011 22:51:41.
Permission is granted to use this page to write and publish articles regarding Visualization Library.