C# Class OpenBve.RouteViewer

Inheritance: OpenTK.GameWindow
ファイルを表示 Open project: leezer3/OpenBVE Class Usage Examples

Public Methods

Method Description
LoadingScreenLoop ( ) : void
RouteViewer ( int width, int height, OpenTK.Graphics.GraphicsMode currentGraphicsMode, string openbve, GameWindowFlags @default ) : System

Protected Methods

Method Description
OnClosing ( CancelEventArgs e ) : void
OnLoad ( EventArgs e ) : void
OnRenderFrame ( FrameEventArgs e ) : void
OnResize ( EventArgs e ) : void

Private Methods

Method Description
RunInRenderThread ( ThreadStart job ) : void

This method is used during loading to run commands requiring an OpenGL context in the main render loop

Method Details

LoadingScreenLoop() public static method

public static LoadingScreenLoop ( ) : void
return void

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

OnLoad() protected method

protected OnLoad ( 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

RouteViewer() public method

public RouteViewer ( int width, int height, OpenTK.Graphics.GraphicsMode currentGraphicsMode, string openbve, GameWindowFlags @default ) : System
width int
height int
currentGraphicsMode OpenTK.Graphics.GraphicsMode
openbve string
@default GameWindowFlags
return System