OGRE-Next
2.3
Object-Oriented Graphics Rendering Engine
|
ProfileSessionListener should be used to visualize profile results. More...
#include <OgreProfiler.h>
Public Types | |
enum | DisplayMode { DISPLAY_PERCENTAGE , DISPLAY_MILLISECONDS } |
Public Member Functions | |
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. More... | |
virtual void | displayResults (const ProfileInstance &instance, ulong maxTotalFrameTime) |
Here we get the real profiling information which we can use. More... | |
virtual void | finializeSession ()=0 |
All internal resources should be deleted here. More... | |
DisplayMode | getDisplayMode () const |
Get the display mode for the overlay. More... | |
virtual void | initializeSession ()=0 |
Create the internal resources. More... | |
void | setDisplayMode (DisplayMode d) |
Set the display mode for the overlay. More... | |
ProfileSessionListener should be used to visualize profile results.
Concrete impl. could be done using Overlay's but its not limited to them you can also create a custom listener which sends the profile informtaion over a network.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
If the profiler disables this listener then it should hide its panels (if any exists) or stop sending data over the network.
Reimplemented in Ogre::v1::OverlayProfileSessionListener.
|
inlinevirtual |
Here we get the real profiling information which we can use.
Reimplemented in Ogre::v1::OverlayProfileSessionListener.
|
pure virtual |
All internal resources should be deleted here.
Implemented in Ogre::v1::OverlayProfileSessionListener.
|
inline |
Get the display mode for the overlay.
|
pure virtual |
Create the internal resources.
Implemented in Ogre::v1::OverlayProfileSessionListener.
|
inline |
Set the display mode for the overlay.