Show / Hide Table of Contents

Class FPSCounterComponent

A component to draw how many frames per second the engine is performing at.

Inheritance
object
GameComponent
DrawableGameComponent
FPSCounterComponent
Implements
IGameComponent
IUpdateable
IDisposable
IDrawable
Inherited Members
DrawableGameComponent.Initialize()
DrawableGameComponent.Dispose(bool)
DrawableGameComponent.LoadContent()
DrawableGameComponent.UnloadContent()
DrawableGameComponent.OnVisibleChanged(object, EventArgs)
DrawableGameComponent.OnDrawOrderChanged(object, EventArgs)
DrawableGameComponent.GraphicsDevice
DrawableGameComponent.DrawOrder
DrawableGameComponent.Visible
DrawableGameComponent.DrawOrderChanged
DrawableGameComponent.VisibleChanged
GameComponent.OnUpdateOrderChanged(object, EventArgs)
GameComponent.OnEnabledChanged(object, EventArgs)
GameComponent.Dispose()
GameComponent.Game
GameComponent.Enabled
GameComponent.UpdateOrder
GameComponent.EnabledChanged
GameComponent.UpdateOrderChanged
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: SadConsole.Host
Assembly: SadConsole.Host.MonoGame.dll
Syntax
public class 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
IDisposable
Microsoft.Xna.Framework.IDrawable

Extension Methods

ExtensionsSystem.GetDebuggerDisplayValue(object)
In this article

Back to top

Back to top Generated by DocFX