VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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.
void setPredrawCallback (PreDrawFBOCallback *predraw_callback)
 used for ending profiling commands

Private Attributes

GLenum myDrawBufferAttachment
GLenum myReadBufferAttachment
bool myEnableUnbindFbo
PreDrawFBOCallbackmyPreDrawCallback

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.

void makVrv::PostDrawFBOCallback::setPredrawCallback ( PreDrawFBOCallback predraw_callback)
inline

used for ending profiling commands

Member Data Documentation

GLenum makVrv::PostDrawFBOCallback::myDrawBufferAttachment
private
GLenum makVrv::PostDrawFBOCallback::myReadBufferAttachment
private
bool makVrv::PostDrawFBOCallback::myEnableUnbindFbo
private
PreDrawFBOCallback* makVrv::PostDrawFBOCallback::myPreDrawCallback
private

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)