15 #include <osg/FrameBufferObject>
33 virtual ~PreDrawFBOCallback();
36 virtual void operator () (osg::RenderInfo& renderInfo)
const;
39 virtual void enableBindFbo(
bool bind);
42 myPerformanceModule = profName;
45 myProfileFunction = funcName;
48 virtual void endDrawPass(osg::RenderInfo& renderInfo);
68 virtual void operator () (osg::RenderInfo& renderInfo)
const;
71 void setRestoreDrawBuffer(
GLenum bufferAttachment);
74 void setRestoreReadBuffer(
GLenum bufferAttachment);
77 void enableUnbindFbo(
bool unbind);
81 myPreDrawCallback = predraw_callback;
Definition: DtDrawFBOCallback.h:29
Definition: DtGlDebugGroup.h:58
GLenum myReadBufferAttachment
Definition: DtDrawFBOCallback.h:86
Creates a span that demarcates a length of time in the CV tool.
Definition: DtConcurrencyViewerMacros.h:61
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
virtual void setProfileFunction(const char *funcName)
Definition: DtDrawFBOCallback.h:44
const char * myPerformanceModule
Definition: DtDrawFBOCallback.h:53
Creates a series/span line in the CV tool.
Definition: DtConcurrencyViewerMacros.h:27
DtCVMarkerSeries * myMarker
Definition: DtDrawFBOCallback.h:57
binderNoArgs< _Fn > bind(const _Fn &_Func, const _Ty &_Left)
Definition: DtSTLUtilities.h:76
const char * myProfileFunction
Definition: DtDrawFBOCallback.h:55
virtual void setProfileSubsystem(const char *profName)
Definition: DtDrawFBOCallback.h:41
DtCVSpan * mySpan
Definition: DtDrawFBOCallback.h:56
GLenum myDrawBufferAttachment
Definition: DtDrawFBOCallback.h:85
DtGlDebugGroup * myGlDebugGroup
Definition: DtDrawFBOCallback.h:58
void setPredrawCallback(PreDrawFBOCallback *predraw_callback)
used for ending profiling commands
Definition: DtDrawFBOCallback.h:80
Definition: DtDrawFBOCallback.h:62
unsigned int GLenum
Definition: DtGlTextureBufferObject.h:18
PreDrawFBOCallback * myPreDrawCallback
Definition: DtDrawFBOCallback.h:89
bool myEnableBindFbo
Definition: DtDrawFBOCallback.h:52
Contains DLL export macros.
osg::ref_ptr< osg::FrameBufferObject > mySharedFbo
Definition: DtDrawFBOCallback.h:51
bool myEnableUnbindFbo
Definition: DtDrawFBOCallback.h:87