C# Class Willcraftia.Xna.Framework.Diagnostics.FpsCounter

FPS を計測して画面に表示するクラスです。
Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Show file Open project: willcraftia/TestXna Class Usage Examples

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
FpsCounter ( Microsoft.Xna.Framework.Game game ) : System

インスタンスを生成します。

Update ( GameTime gameTime ) : void

Protected Methods

Method Description
LoadContent ( ) : void
UnloadContent ( ) : void

Method Details

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

FpsCounter() public method

インスタンスを生成します。
public FpsCounter ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game Game。
return System

LoadContent() protected method

protected LoadContent ( ) : void
return void

UnloadContent() protected method

protected UnloadContent ( ) : void
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void