Method | Description | |
---|---|---|
MainLoop ( ) : void |
The main loop. This method is executed by the application event handler each time the application is idle.
|
|
RenderForm ( ) : System |
Constructor.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
CalcFPS ( ) : void |
Calculates the actual frames per second (fps).
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
KeyHandling ( ) : void |
Occurs when a key is pressed, asynchronously.
|
|
MouseMovement ( ) : void |
Calculates the mouse movement based on the difference between the old and new position (delta).
|
|
MouseResetPosition ( ) : void |
The mouse cursor position is reset to the center of the application window.
|
|
RenderForm_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void |
Release the engine and free all objects as well as associated memory, after the form is closed.
|
|
RenderForm_KeyDown ( object sender, |
Occurs when a key is pressed inside the render panel, synchrounously.
|
|
RenderForm_Load ( object sender, |
All application initialization is performed here, before the main loop thread is executed and the render panel is displayed for the first time.
|
|
RenderForm_Resize ( object sender, |
Occurs when the form is resized. The rendering output area has to be resized accordingly.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |