Visualization Library

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

vl::FBOAbstractTextureAttachment Class Reference

Base class for all the framebuffer texture attachments (see also FBORenderTarget). More...

#include <FramebufferObject.hpp>

Inheritance diagram for vl::FBOAbstractTextureAttachment:
vl::FBOAbstractAttachment vl::Object vl::FBOTexture1DAttachment vl::FBOTexture2DAttachment vl::FBOTexture3DAttachment vl::FBOTextureAttachment vl::FBOTextureLayerAttachment

List of all members.

Public Member Functions

virtual const char * className ()
 Returns the name of the class.
 FBOAbstractTextureAttachment (Texture *texture, int mipmap_level)
 Constructor.
void setTexture (Texture *texture)
 The texture bound to this attachment.
Texturetexture ()
 The texture bound to this attachment.
const Texturetexture () const
 The texture bound to this attachment.
void setMipmapLevel (int mipmap_level)
 The mipmap level of the texture to attach.
int mipmapLevel () const
 The mipmap level of the texture to attach.

Protected Attributes

ref< TexturemTexture
int mMipmapLevel

Detailed Description

Base class for all the framebuffer texture attachments (see also FBORenderTarget).

Definition at line 305 of file FramebufferObject.hpp.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 311 of file FramebufferObject.hpp.

References VL_DEBUG_SET_OBJECT_NAME.


Member Function Documentation

virtual const char* vl::FBOAbstractTextureAttachment::className (  ) [inline, virtual]
void vl::FBOAbstractTextureAttachment::setTexture ( Texture texture ) [inline]

The texture bound to this attachment.

Definition at line 317 of file FramebufferObject.hpp.

Texture* vl::FBOAbstractTextureAttachment::texture (  ) [inline]
const Texture* vl::FBOAbstractTextureAttachment::texture (  ) const [inline]

The texture bound to this attachment.

Definition at line 323 of file FramebufferObject.hpp.

void vl::FBOAbstractTextureAttachment::setMipmapLevel ( int  mipmap_level ) [inline]

The mipmap level of the texture to attach.

Definition at line 326 of file FramebufferObject.hpp.

int vl::FBOAbstractTextureAttachment::mipmapLevel (  ) const [inline]

Member Data Documentation

Reimplemented in vl::FBOTextureLayerAttachment.

Definition at line 332 of file FramebufferObject.hpp.

Reimplemented in vl::FBOTextureLayerAttachment.

Definition at line 333 of file FramebufferObject.hpp.


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

Visualization Library v2011.05.1144 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Tue Sep 13 2011 21:59:13.
Permission is granted to use this page to write and publish articles regarding Visualization Library.