Method | Description | |
---|---|---|
SimpleES11Window ( ) : System |
Method | Description | |
---|---|---|
OnLoad ( |
||
OnRenderFrame ( FrameEventArgs e ) : void |
Place your rendering code here.
|
|
OnResize ( |
Called when the user resizes the window. You want the OpenGL viewport to match the window. This is the place to do it! |
|
OnUpdateFrame ( FrameEventArgs e ) : void |
Prepares the next frame for rendering. Place your control logic here. This is the place to respond to user input, update object positions etc. |
Method | Description | |
---|---|---|
DrawCube ( ) : void | ||
Main ( ) : void |
protected OnRenderFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
return | void |
protected OnResize ( |
||
e | Contains the new width/height of the window. | |
return | void |
protected OnUpdateFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
return | void |