C# Class Duality.Launcher.DualityLauncher

Inheritance: OpenTK.GameWindow
显示文件 Open project: BraveSirAndrew/duality Class Usage Examples

Public Methods

Method Description
DualityLauncher ( int w, int h, OpenTK.Graphics.GraphicsMode mode, string title, GameWindowFlags flags ) : System
ShowConsole ( ) : void

Protected Methods

Method Description
OnFocusedChanged ( EventArgs e ) : void
OnRenderFrame ( FrameEventArgs e ) : void
OnResize ( EventArgs e ) : void
OnUpdateFrame ( FrameEventArgs e ) : void

Private Methods

Method Description
Main ( string args ) : void
OnUserDataChanged ( object sender, EventArgs eventArgs ) : void
SetMouseDeviceX ( int x ) : void
SetMouseDeviceY ( int y ) : void
SetVSyncMode ( GameWindow window ) : void
ValidateMinimumGPUSpec ( ) : bool

Method Details

DualityLauncher() public method

public DualityLauncher ( int w, int h, OpenTK.Graphics.GraphicsMode mode, string title, GameWindowFlags flags ) : System
w int
h int
mode OpenTK.Graphics.GraphicsMode
title string
flags GameWindowFlags
return System

OnFocusedChanged() protected method

protected OnFocusedChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnRenderFrame() protected method

protected OnRenderFrame ( FrameEventArgs e ) : void
e FrameEventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

OnUpdateFrame() protected method

protected OnUpdateFrame ( FrameEventArgs e ) : void
e FrameEventArgs
return void

ShowConsole() public static method

public static ShowConsole ( ) : void
return void