VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
makVrv::PostDrawFBOCallback Struct Reference
Inheritance diagram for makVrv::PostDrawFBOCallback:
Inheritance graph
[legend]

Public Member Functions

 PostDrawFBOCallback ()
 CTOR.
virtual void operator() (osg::RenderInfo &renderInfo) const
 Callback method.
void setRestoreDrawBuffer (GLenum bufferAttachment)
 Sets the opengl draw buffer to restore to after fbo unbinding.
void setRestoreReadBuffer (GLenum bufferAttachment)
 Sets the opengl read buffer to restore to after fbo unbinding.
void enableUnbindFbo (bool unbind)
 Enables/Disables unbinding of fbo specifying the last camera that gets rendered for fbo sharing between cascade cameras.

Private Attributes

GLenum myDrawBufferAttachment
GLenum myReadBufferAttachment
bool myEnableUnbindFbo

Constructor & Destructor Documentation

makVrv::PostDrawFBOCallback::PostDrawFBOCallback ( )

CTOR.

Member Function Documentation

virtual void makVrv::PostDrawFBOCallback::operator() ( osg::RenderInfo &  renderInfo) const
virtual

Callback method.

void makVrv::PostDrawFBOCallback::setRestoreDrawBuffer ( GLenum  bufferAttachment)

Sets the opengl draw buffer to restore to after fbo unbinding.

void makVrv::PostDrawFBOCallback::setRestoreReadBuffer ( GLenum  bufferAttachment)

Sets the opengl read buffer to restore to after fbo unbinding.

void makVrv::PostDrawFBOCallback::enableUnbindFbo ( bool  unbind)

Enables/Disables unbinding of fbo specifying the last camera that gets rendered for fbo sharing between cascade cameras.

Member Data Documentation

GLenum makVrv::PostDrawFBOCallback::myDrawBufferAttachment
private
GLenum makVrv::PostDrawFBOCallback::myReadBufferAttachment
private
bool makVrv::PostDrawFBOCallback::myEnableUnbindFbo
private

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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)