OGRE 13.6
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::OverlayProfileSessionListener Class Reference

Concrete impl. More...

#include <OgreOverlayProfileSessionListener.h>

+ Inheritance diagram for Ogre::OverlayProfileSessionListener:

Public Types

enum  DisplayMode { DISPLAY_PERCENTAGE , DISPLAY_MILLISECONDS }
 

Public Member Functions

 OverlayProfileSessionListener ()
 
virtual ~OverlayProfileSessionListener ()
 
void changeEnableState (bool enabled) override
 
void displayResults (const ProfileInstance &instance, ulong maxTotalFrameTime) override
 
void finializeSession () override
 
DisplayMode getDisplayMode () const
 Get the display mode for the overlay.
 
Real getOverlayHeight () const
 
Real getOverlayLeft () const
 
Real getOverlayTop () const
 
Real getOverlayWidth () const
 
void initializeSession () override
 
void setDisplayMode (DisplayMode d)
 Set the display mode for the overlay.
 
void setOverlayDimensions (Real width, Real height)
 Set the size of the profiler overlay, in pixels.
 
void setOverlayPosition (Real left, Real top)
 Set the position of the profiler overlay, in pixels.
 
- Public Member Functions inherited from Ogre::ProfileSessionListener
virtual ~ProfileSessionListener ()
 
virtual void changeEnableState (bool enabled)
 If the profiler disables this listener then it should hide its panels (if any exists) or stop sending data over the network.
 
virtual void displayResults (const ProfileInstance &instance, ulong maxTotalFrameTime)
 Here we get the real profiling information which we can use.
 
virtual void finializeSession ()=0
 All internal resources should be deleted here.
 
virtual void initializeSession ()=0
 Create the internal resources.
 

Detailed Description

Concrete impl.

of the ProfileSessionListener which visualizes the profling results using overlays.


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