Méthode | Description | |
---|---|---|
OpenBVEGame ( int width, int height, OpenTK.Graphics.GraphicsMode currentGraphicsMode, GameWindowFlags @default ) : System |
Méthode | Description | |
---|---|---|
OnClosing ( CancelEventArgs e ) : void | ||
OnLoad ( |
||
OnRenderFrame ( FrameEventArgs e ) : void | ||
OnResize ( |
||
OnUpdateFrame ( FrameEventArgs e ) : void |
Méthode | 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 | |
Résultat | void |
protected OnRenderFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
Résultat | void |
protected OnResize ( |
||
e | ||
Résultat | void |
protected OnUpdateFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
Résultat | void |
public OpenBVEGame ( int width, int height, OpenTK.Graphics.GraphicsMode currentGraphicsMode, GameWindowFlags @default ) : System | ||
width | int | |
height | int | |
currentGraphicsMode | OpenTK.Graphics.GraphicsMode | |
@default | GameWindowFlags | |
Résultat | System |