12 #include <osg/Texture>
20 class TextureObjectManager;
26 class CompositeViewer;
32 class DtImGuiLoaderStatsData;
40 static const int theGraphEntries = 180;
60 virtual void releaseResources(osg::State* state);
65 osgViewer::CompositeViewer& viewer);
71 virtual void createProfilerUI(osg::RenderInfo& renderInfo,
unsigned int state);
74 virtual int numMultiSamples();
78 virtual void addTextureEntry(
const std::string &sharedPath,
const std::string &name
79 ,
const osg::Texture * osgTexture,
const osg::Texture::TextureObject * osgTextureObject);
83 virtual void addTextureEntry(
const std::string& sharedPath,
const std::string& name
84 ,
int refCount,
unsigned int textureId);
88 virtual void addTextureEntry(
const std::string& sharedPath,
const std::string& name,
int refCount
90 ,
int textureWidth,
int textureHeight
92 ,
int internalFormat);
96 virtual void drawBackgroundLoaderStats();
107 float myForegroundTimeHistoryMs[theGraphEntries];
The DtOsgRenderer is the component responsible for rendering 3D images onto the screen via OpenSceneG...
Definition: DtOsgRenderer.h:92
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Definition: DtImGuiHelper.h:36
float myForegroundTimePeakMs
Definition: DtImGuiHelper.h:109
class that gathers per frame stats and puts up UI
Definition: DtImGuiLoaderStatsData.h:45
int myNumMultiSamples
Definition: DtImGuiHelper.h:101
int myForegroundTimeHistoryOffset
Definition: DtImGuiHelper.h:108
bool myShowBackgroundLoaderStats
Definition: DtImGuiHelper.h:106
bool myMultiSampleOverriden
Definition: DtImGuiHelper.h:104
Contains DLL export macros.
DtImGuiLoaderStatsData * myLoaderStatsData
data for the loader stats ui
Definition: DtImGuiHelper.h:100
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtDe & myDe
Definition: DtImGuiHelper.h:111
int mySwapInterval
used for VSync setting
Definition: DtImGuiHelper.h:103