C# Class Squared.Render.MultithreadedGame

Inheritance: Microsoft.Xna.Framework.Game
Afficher le fichier Open project: sq/Fracture

Méthodes publiques

Свойство Type Description
ThreadGroup ThreadGroup

Méthodes publiques

Méthode Description
BeforeDraw ( Action action ) : void

Queues an operation to occur immediately before Game.Draw, after the previous frame has finished. You can do SynchronousDrawToRenderTarget here.

BeforePresent ( System.Action action ) : void

Queues an operation to occur immediately before Present, after all drawing commands have been issued. This is an ideal time to perform tasks like texture read-back.

Draw ( GameTime gameTime, Frame frame ) : void
MultithreadedGame ( ) : System

Méthodes protégées

Méthode Description
BeginDraw ( ) : bool
Dispose ( bool disposing ) : void
Draw ( GameTime gameTime ) : void
EndDraw ( ) : void
EndRun ( ) : void
Initialize ( ) : void
OnBeforeDraw ( GameTime gameTime ) : void
OnDeviceReset ( ) : void
OnFormClosing ( object sender, System.CancelEventArgs e ) : void
SetupCloseHook ( ) : bool

Private Methods

Méthode Description
InternalDispose ( ) : void

Method Details

BeforeDraw() public méthode

Queues an operation to occur immediately before Game.Draw, after the previous frame has finished. You can do SynchronousDrawToRenderTarget here.
public BeforeDraw ( Action action ) : void
action Action
Résultat void

BeforePresent() public méthode

Queues an operation to occur immediately before Present, after all drawing commands have been issued. This is an ideal time to perform tasks like texture read-back.
public BeforePresent ( System.Action action ) : void
action System.Action
Résultat void

BeginDraw() protected méthode

protected BeginDraw ( ) : bool
Résultat bool

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Draw() protected final méthode

protected final Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Draw() public abstract méthode

public abstract Draw ( GameTime gameTime, Frame frame ) : void
gameTime Microsoft.Xna.Framework.GameTime
frame Frame
Résultat void

EndDraw() protected méthode

protected EndDraw ( ) : void
Résultat void

EndRun() protected méthode

protected EndRun ( ) : void
Résultat void

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

MultithreadedGame() public méthode

public MultithreadedGame ( ) : System
Résultat System

OnBeforeDraw() protected méthode

protected OnBeforeDraw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

OnDeviceReset() protected méthode

protected OnDeviceReset ( ) : void
Résultat void

OnFormClosing() protected méthode

protected OnFormClosing ( object sender, System.CancelEventArgs e ) : void
sender object
e System.CancelEventArgs
Résultat void

SetupCloseHook() protected méthode

protected SetupCloseHook ( ) : bool
Résultat bool

Property Details

ThreadGroup public_oe property

public ThreadGroup ThreadGroup
Résultat ThreadGroup