VR-Forces 4.8 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. More...
 
virtual void operator() (osg::RenderInfo &renderInfo) const
 Callback method. More...
 
void setRestoreDrawBuffer (GLenum bufferAttachment)
 Sets the opengl draw buffer to restore to after fbo unbinding. More...
 
void setRestoreReadBuffer (GLenum bufferAttachment)
 Sets the opengl read buffer to restore to after fbo unbinding. More...
 
void enableUnbindFbo (bool unbind)
 Enables/Disables unbinding of fbo specifying the last camera that gets rendered for fbo sharing between cascade cameras. More...
 
void setPredrawCallback (PreDrawFBOCallback *predraw_callback)
 used for ending profiling commands More...
 

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.

Reimplemented in makVrv::DtTritonHeightMapPostDrawFBOCallback.

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 Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)