29 #ifndef __OverlayProfileSessionListener_H__ 30 #define __OverlayProfileSessionListener_H__ 55 virtual void initializeSession();
58 virtual void finializeSession();
64 virtual void changeEnableState(
bool enabled);
67 void setOverlayDimensions(
Real width,
Real height);
70 void setOverlayPosition(
Real left,
Real top);
72 Real getOverlayWidth()
const;
73 Real getOverlayHeight()
const;
74 Real getOverlayLeft()
const;
75 Real getOverlayTop()
const;
82 void displayResults(
ProfileInstance* instance, ProfileBarList::const_iterator& bIter,
Real& maxTimeMillisecs,
Real& newGuiHeight,
int& profileCount);
89 uint fontSize,
const String& caption,
bool show =
true);
93 const String& materialName,
bool show =
true);
uint mMaxDisplayProfiles
The max number of profiles we can display.
float Real
Software floating point type.
Represents an individual profile call.
#define _OgreOverlayExport
Real mGuiTop
The vertical position of the stats window.
Real mGuiWidth
The width of the stats window.
ProfileBarList mProfileBars
Holds the display bars for each profile results.
Real mBarHeight
The height of each bar.
Real mBarSpacing
The distance between bars.
Real mBarLineWidth
The width of the min, avg, and max lines in a profile display.
ProfileSessionListener should be used to visualize profile results.
Overlay * mOverlay
The overlay which contains our profiler results display.
Abstract definition of a 2D element to be displayed in an Overlay.
Real mGuiLeft
The horz position of the stats window.
Real mGuiHeight
The height of the stats window.
A 2D element which contains other OverlayElement instances.
Represents a layer which is rendered on top of the 'normal' scene contents.
OverlayContainer * mProfileGui
The window that displays the profiler results.
Real mBarIndent
The size of the indent for each profile display bar.
Real mGuiBorderWidth
The width of the border between the profile window and each bar.
list< OverlayElement * >::type ProfileBarList