Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]

vl::FBODepthStencilBufferAttachment Class Reference

A depth+stencil renderbuffer to be attached to a framebuffer object rendering target (FBORenderTarget). More...

#include <FramebufferObject.hpp>

Inheritance diagram for vl::FBODepthStencilBufferAttachment:

vl::FBORenderbufferAttachment vl::FBOAttachmentAbstract vl::Object

List of all members.

Public Member Functions

 FBODepthStencilBufferAttachment (EDepthStencilType type)
virtual const char * className ()
 Returns the name of the class.
void setType (EDepthStencilType type)
 Defines the type to specify when allocating the renderbuffer storage. Note that this function schedules a reallocation of the renderbuffer storage.
EDepthStencilType type () const
void bindAttachment (int w, int h, EAttachmentPoint attach_point)
 Binds this renderbuffer to the currently active framebuffer object (GL_FRAMEBUFFER).

Protected Member Functions

virtual int internalType ()

Protected Attributes

EDepthStencilType mType


Detailed Description

A depth+stencil renderbuffer to be attached to a framebuffer object rendering target (FBORenderTarget).

Supports GL_EXT_framebuffer_multisample.


Constructor & Destructor Documentation

vl::FBODepthStencilBufferAttachment::FBODepthStencilBufferAttachment ( EDepthStencilType  type  )  [inline]


Member Function Documentation

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

Returns the name of the class.

Reimplemented from vl::FBORenderbufferAttachment.

void vl::FBODepthStencilBufferAttachment::setType ( EDepthStencilType  type  )  [inline]

Defines the type to specify when allocating the renderbuffer storage. Note that this function schedules a reallocation of the renderbuffer storage.

EDepthStencilType vl::FBODepthStencilBufferAttachment::type (  )  const [inline]

void vl::FBODepthStencilBufferAttachment::bindAttachment ( int  w,
int  h,
EAttachmentPoint  attach_point 
) [inline, virtual]

Binds this renderbuffer to the currently active framebuffer object (GL_FRAMEBUFFER).

This function also initializes its storage if 'w' and 'h' differ from the renderbuffer's current width() and height() and the renderbuffer is not a texture.

Implements vl::FBOAttachmentAbstract.

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


Member Data Documentation


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

Visualization Library v2009.08 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Fri Aug 28 10:14:10 2009.
Permission is granted to use this page to write and publish articles regarding Visualization Library.