C# Class VVVV.Nodes.OpenGL.RendererWindow

Inheritance: OpenTK.GameWindow, IDisposable
Afficher le fichier Open project: elliotwoods/VVVV.Nodes.GL Class Usage Examples

Méthodes publiques

Méthode Description
RendererWindow ( ) : System

Méthodes protégées

Méthode 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

Méthode Description
RendererWindow_Closed ( object sender, EventArgs e ) : void
RendererWindow_RenderFrame ( object sender, FrameEventArgs e ) : void

Method Details

OnLoad() protected méthode

Load resources here.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs Not used.
Résultat void

OnResize() protected méthode

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.
Résultat void

OnUpdateFrame() protected méthode

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.
Résultat void

RendererWindow() public méthode

public RendererWindow ( ) : System
Résultat System