Метод | Описание | |
---|---|---|
SimpleES11Window ( ) : System |
Метод | Описание | |
---|---|---|
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. |
Метод | Описание | |
---|---|---|
DrawCube ( ) : void | ||
Main ( ) : void |
protected OnRenderFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
Результат | void |
protected OnResize ( |
||
e | Contains the new width/height of the window. | |
Результат | void |
protected OnUpdateFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
Результат | void |