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

A color renderbuffer to be attached to a FBORenderTarget. More...

#include <FramebufferObject.hpp>

Inheritance diagram for vl::FBOColorBufferAttachment:
vl::FBORenderbufferAttachment vl::FBOAbstractAttachment vl::Object

List of all members.

Public Member Functions

virtual const char * className ()
 Returns the name of the class.
 FBOColorBufferAttachment (EColorBufferFormat type)
 Constructor.
void setType (EColorBufferFormat type)
 The type to specify when allocating the renderbuffer storage.
EColorBufferFormat type () const
 The type to specify when allocating the renderbuffer storage.

Protected Member Functions

virtual int internalType ()

Protected Attributes

EColorBufferFormat mType

Detailed Description

A color renderbuffer to be attached to a FBORenderTarget.

Definition at line 185 of file FramebufferObject.hpp.


Constructor & Destructor Documentation

vl::FBOColorBufferAttachment::FBOColorBufferAttachment ( EColorBufferFormat  type ) [inline]

Constructor.

Definition at line 191 of file FramebufferObject.hpp.

References VL_DEBUG_SET_OBJECT_NAME.


Member Function Documentation

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

Returns the name of the class.

Reimplemented from vl::FBORenderbufferAttachment.

Definition at line 188 of file FramebufferObject.hpp.

void vl::FBOColorBufferAttachment::setType ( EColorBufferFormat  type ) [inline]

The type to specify when allocating the renderbuffer storage.

Definition at line 198 of file FramebufferObject.hpp.

EColorBufferFormat vl::FBOColorBufferAttachment::type (  ) const [inline]

The type to specify when allocating the renderbuffer storage.

Definition at line 201 of file FramebufferObject.hpp.

virtual int vl::FBOColorBufferAttachment::internalType (  ) [inline, protected, virtual]

Implements vl::FBORenderbufferAttachment.

Definition at line 204 of file FramebufferObject.hpp.


Member Data Documentation

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