Class Game.FPSCounterComponent
A component to draw how many frames per second the engine is performing at.
Inherited Members
DrawableGameComponent.Initialize()
DrawableGameComponent.LoadContent()
DrawableGameComponent.UnloadContent()
DrawableGameComponent.GraphicsDevice
DrawableGameComponent.DrawOrder
DrawableGameComponent.Visible
DrawableGameComponent.DrawOrderChanged
DrawableGameComponent.VisibleChanged
GameComponent.Dispose()
GameComponent.Game
GameComponent.Enabled
GameComponent.UpdateOrder
GameComponent.EnabledChanged
GameComponent.UpdateOrderChanged
Namespace: SadConsole.Host
Assembly: SadConsole.Host.MonoGame.dll
Syntax
public class Game.FPSCounterComponent : DrawableGameComponent, IGameComponent, IUpdateable, IDisposable, IDrawable
Constructors
FPSCounterComponent(Game)
Declaration
public FPSCounterComponent(Game game)
Parameters
Type | Name | Description |
---|---|---|
Game | game |
Methods
Draw(GameTime)
Declaration
public override void Draw(GameTime gameTime)
Parameters
Type | Name | Description |
---|---|---|
GameTime | gameTime |
Overrides
Microsoft.Xna.Framework.DrawableGameComponent.Draw(Microsoft.Xna.Framework.GameTime)
Update(GameTime)
Declaration
public override void Update(GameTime gameTime)
Parameters
Type | Name | Description |
---|---|---|
GameTime | gameTime |
Overrides
Microsoft.Xna.Framework.GameComponent.Update(Microsoft.Xna.Framework.GameTime)
Implements
Microsoft.Xna.Framework.IGameComponent
Microsoft.Xna.Framework.IUpdateable
Microsoft.Xna.Framework.IDrawable