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::FBOTexture3DAttachment Class Reference

A 3D texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture3D()). More...

#include <FramebufferObject.hpp>

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

List of all members.

Public Member Functions

 FBOTexture3DAttachment ()
 FBOTexture3DAttachment (Texture *texture, int mipmap_level, int layer)
void setLayer (int layer)
 The layer of a 2-dimensional image within a 3-dimensional texture.
int layer () const
 The layer of a 2-dimensional image within a 3-dimensional texture.

Protected Member Functions

virtual void bindAttachment (FramebufferObject *fbo, EAttachmentPoint attach_point)

Protected Attributes

int mLayer

Detailed Description

A 3D texture renderbuffer to be attached to a FramebufferObject (wraps glFramebufferTexture3D()).

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

Definition at line 438 of file FramebufferObject.hpp.


Constructor & Destructor Documentation

vl::FBOTexture3DAttachment::FBOTexture3DAttachment ( ) [inline]

Definition at line 443 of file FramebufferObject.hpp.

References VL_DEBUG_SET_OBJECT_NAME.

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

Definition at line 449 of file FramebufferObject.hpp.

References VL_DEBUG_SET_OBJECT_NAME.


Member Function Documentation

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

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

Definition at line 456 of file FramebufferObject.hpp.

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

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

Definition at line 459 of file FramebufferObject.hpp.

Referenced by bindAttachment().

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

Member Data Documentation

Definition at line 465 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.