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 FramebufferObject (wraps glFramebufferTextureLayer()). More...

#include <FramebufferObject.hpp>

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

List of all members.

Public Member Functions

 FBOTextureLayerAttachment ()
 Constructor.
 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 (FramebufferObject *fbo, EAttachmentPoint attach_point)

Protected Attributes

ref< TexturemTexture
int mMipmapLevel
int mLayer

Detailed Description

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

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

Definition at line 474 of file FramebufferObject.hpp.


Constructor & Destructor Documentation

vl::FBOTextureLayerAttachment::FBOTextureLayerAttachment ( ) [inline]

Constructor.

Definition at line 480 of file FramebufferObject.hpp.

References VL_DEBUG_SET_OBJECT_NAME.

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

Constructor.

Definition at line 487 of file FramebufferObject.hpp.

References VL_DEBUG_SET_OBJECT_NAME.


Member Function Documentation

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

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

Definition at line 494 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 497 of file FramebufferObject.hpp.

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

Member Data Documentation

Reimplemented from vl::FBOAbstractTextureAttachment.

Definition at line 503 of file FramebufferObject.hpp.

Reimplemented from vl::FBOAbstractTextureAttachment.

Definition at line 504 of file FramebufferObject.hpp.

Definition at line 505 of file FramebufferObject.hpp.


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

Visualization Library 2011.09.1160 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu May 2 2013 13:41:28.
Permission is granted to use this page to write and publish articles regarding Visualization Library.