Method | Description | |
---|---|---|
T09_VBO_Dynamic ( ) : System |
Creates a 800x600 window with the specified title.
|
Method | Description | |
---|---|---|
OnLoad ( |
Load resources here.
|
|
OnRenderFrame ( FrameEventArgs e ) : void |
Called when it is time to render the next frame. Add your rendering code here.
|
|
OnResize ( |
Called when your window is resized. Set your viewport here. It is also a good place to set up your projection matrix (which probably changes along when the aspect ratio of your window).
|
|
OnUnload ( |
||
OnUpdateFrame ( FrameEventArgs e ) : void |
Called when it is time to setup the next frame. Add you game logic here.
|
Method | Description | |
---|---|---|
Main ( ) : void |
protected OnLoad ( |
||
e | Not used. | |
return | void |
protected OnRenderFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | Contains timing information. |
return | void |
protected OnResize ( |
||
e | Contains information on the new Width and Size of the GameWindow. | |
return | void |
protected OnUnload ( |
||
e | ||
return | void |
protected OnUpdateFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | Contains timing information for framerate independent logic. |
return | void |