Méthode | Description | |
---|---|---|
SimpleES20Window ( GraphicsContextFlags flags ) : System |
Méthode | 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. |
Méthode | Description | |
---|---|---|
DrawCube ( ) : void | ||
Main ( ) : void |
protected OnRenderFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
Résultat | void |
protected OnResize ( |
||
e | Contains the new width/height of the window. | |
Résultat | void |
protected OnUpdateFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
Résultat | void |
public SimpleES20Window ( GraphicsContextFlags flags ) : System | ||
flags | GraphicsContextFlags | |
Résultat | System |