C# Class VVVV.Nodes.OpenGL.RendererWindow

Inheritance: OpenTK.GameWindow, IDisposable
Exibir arquivo Open project: elliotwoods/VVVV.Nodes.GL Class Usage Examples

Public Methods

Method Description
RendererWindow ( ) : System

Protected Methods

Method Description
OnLoad ( EventArgs e ) : void

Load resources here.

OnResize ( EventArgs e ) : void

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).

OnUpdateFrame ( FrameEventArgs e ) : void

Called when it is time to setup the next frame. Add you game logic here.

Private Methods

Method Description
RendererWindow_Closed ( object sender, EventArgs e ) : void
RendererWindow_RenderFrame ( object sender, FrameEventArgs e ) : void

Method Details

OnLoad() protected method

Load resources here.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs Not used.
return void

OnResize() protected method

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).
protected OnResize ( EventArgs e ) : void
e System.EventArgs Not used.
return void

OnUpdateFrame() protected method

Called when it is time to setup the next frame. Add you game logic here.
protected OnUpdateFrame ( FrameEventArgs e ) : void
e FrameEventArgs Contains timing information for framerate independent logic.
return void

RendererWindow() public method

public RendererWindow ( ) : System
return System