ProfileSessionListener should be used to visualize profile results.
More...
#include <OgreProfiler.h>
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.
Enumerator |
---|
DISPLAY_PERCENTAGE |
Display % frame usage on the overlay.
|
DISPLAY_MILLISECONDS |
Display milliseconds on the overlay.
|
Ogre::ProfileSessionListener::ProfileSessionListener |
( |
| ) |
|
|
inline |
virtual Ogre::ProfileSessionListener::~ProfileSessionListener |
( |
| ) |
|
|
inlinevirtual |
virtual void Ogre::ProfileSessionListener::initializeSession |
( |
| ) |
|
|
pure virtual |
virtual void Ogre::ProfileSessionListener::finializeSession |
( |
| ) |
|
|
pure virtual |
virtual void Ogre::ProfileSessionListener::changeEnableState |
( |
bool |
enabled | ) |
|
|
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::OverlayProfileSessionListener.
virtual void Ogre::ProfileSessionListener::displayResults |
( |
const ProfileInstance & |
instance, |
|
|
ulong |
maxTotalFrameTime |
|
) |
| |
|
inlinevirtual |
void Ogre::ProfileSessionListener::setDisplayMode |
( |
DisplayMode |
d | ) |
|
|
inline |
Set the display mode for the overlay.
DisplayMode Ogre::ProfileSessionListener::getDisplayMode |
( |
| ) |
const |
|
inline |
Get the display mode for the overlay.
The documentation for this class was generated from the following file: