Go to the documentation of this file.
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);
Real mBarIndent
The size of the indent for each profile display bar.
Abstract definition of a 2D element to be displayed in an Overlay.
uint mMaxDisplayProfiles
The max number of profiles we can display.
Real mGuiTop
The vertical position of the stats window.
Represents an individual profile call.
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.
#define _OgreOverlayExport
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.
float Real
Software floating point type.
Overlay * mOverlay
The overlay which contains our profiler results display.
OverlayContainer * mProfileGui
The window that displays the profiler results.
Real mGuiLeft
The horz position of the stats window.
Real mGuiHeight
The height of the stats window.
Real mGuiBorderWidth
The width of the border between the profile window and each bar.
list< OverlayElement * >::type ProfileBarList
Represents a layer which is rendered on top of the 'normal' scene contents.
A 2D element which contains other OverlayElement instances.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15