Method | Description | |
---|---|---|
OpenBVEGame ( int width, int height, OpenTK.Graphics.GraphicsMode currentGraphicsMode, GameWindowFlags @default ) : System |
Method | Description | |
---|---|---|
OnClosing ( CancelEventArgs e ) : void | ||
OnLoad ( |
||
OnRenderFrame ( FrameEventArgs e ) : void | ||
OnResize ( |
||
OnUpdateFrame ( FrameEventArgs e ) : void |
Method | Description | |
---|---|---|
LoadingScreenLoop ( ) : void | ||
RunInRenderThread ( ThreadStart job ) : void |
This method is used during loading to run commands requiring an OpenGL context in the main render loop
|
|
SetupSimulation ( ) : void |
This method is called once the route and train data have been preprocessed, in order to physically setup the simulation
|
protected OnClosing ( CancelEventArgs e ) : void | ||
e | CancelEventArgs | |
return | void |
protected OnRenderFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
return | void |
protected OnResize ( |
||
e | ||
return | void |
protected OnUpdateFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
return | void |
public OpenBVEGame ( int width, int height, OpenTK.Graphics.GraphicsMode currentGraphicsMode, GameWindowFlags @default ) : System | ||
width | int | |
height | int | |
currentGraphicsMode | OpenTK.Graphics.GraphicsMode | |
@default | GameWindowFlags | |
return | System |