VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtFrameBufferObject Class Reference

An object which wraps an OpenGL frame buffer object and allows rendering To a texture. More...

Public Member Functions

 DtFrameBufferObject (unsigned int width, unsigned int height, const char *name)
 ~DtFrameBufferObject ()
void resize (unsigned int width, unsigned int height)
 Resize the frame buffer.
void attachTexture2D (unsigned int textureId)
 Attach a texture to the frame buffer object.
bool valid ()
 Check to see if the frame buffer is valid.
void bind ()
 Bind the current frame buffer.
void unbind ()
 Unbind the current frame buffer, use system frame buffer.

Protected Attributes

std::string myName
bool myBoundFlag
unsigned int myFrameBuffer
unsigned int myDepthBuffer

Detailed Description

An object which wraps an OpenGL frame buffer object and allows rendering To a texture.

Constructor & Destructor Documentation

makVrv::DtFrameBufferObject::DtFrameBufferObject ( unsigned int  width,
unsigned int  height,
const char name 
)
makVrv::DtFrameBufferObject::~DtFrameBufferObject ( )

Member Function Documentation

void makVrv::DtFrameBufferObject::resize ( unsigned int  width,
unsigned int  height 
)

Resize the frame buffer.

void makVrv::DtFrameBufferObject::attachTexture2D ( unsigned int  textureId)

Attach a texture to the frame buffer object.

bool makVrv::DtFrameBufferObject::valid ( )

Check to see if the frame buffer is valid.

void makVrv::DtFrameBufferObject::bind ( )

Bind the current frame buffer.

void makVrv::DtFrameBufferObject::unbind ( )

Unbind the current frame buffer, use system frame buffer.

Member Data Documentation

std::string makVrv::DtFrameBufferObject::myName
protected
bool makVrv::DtFrameBufferObject::myBoundFlag
protected
unsigned int makVrv::DtFrameBufferObject::myFrameBuffer
protected
unsigned int makVrv::DtFrameBufferObject::myDepthBuffer
protected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)