Property | Type | Description | |
---|---|---|---|
FrametimeDangerDisplayColor | Color | ||
FrametimeDisplayColor | Color | ||
FrametimeDisplayPosition | Vector2 | ||
ShowAveragedFrametime | bool |
Method | Description | |
---|---|---|
CuteFrametimeCounterComponent ( Microsoft.Xna.Framework.Game game, bool showFrametimeText, bool showIcons ) : System | ||
Draw ( |
||
Initialize ( ) : void |
Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.
|
|
Update ( |
Allows the game component to update itself.
|
Method | Description | |
---|---|---|
LoadContent ( ) : void |
Method | Description | |
---|---|---|
DrawIcon ( PerfIconType iconType, Vector2 position ) : void | ||
FrametimeToPerfIcon ( float frameTime ) : PerfIconType |
public CuteFrametimeCounterComponent ( Microsoft.Xna.Framework.Game game, bool showFrametimeText, bool showIcons ) : System | ||
game | Microsoft.Xna.Framework.Game | |
showFrametimeText | bool | |
showIcons | bool | |
return | System |
public Draw ( |
||
gameTime | ||
return | void |
public Update ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |
public Color FrametimeDangerDisplayColor | ||
return | Color |