C# Class Examples.Tutorial.T13_GLSL_Earth

Inheritance: OpenTK.GameWindow
Afficher le fichier Open project: tpb3d/TPB3D Class Usage Examples

Méthodes publiques

Méthode Description
T13_GLSL_Earth ( ) : System

Méthodes protégées

Méthode Description
OnLoad ( EventArgs e ) : void

Setup OpenGL and load resources here.

OnRenderFrame ( FrameEventArgs e ) : void

Add your game rendering code here.

There is no need to call the base implementation.

OnResize ( EventArgs e ) : void

Respond to resize events here.

There is no need to call the base implementation.

OnUnload ( EventArgs e ) : void
OnUpdateFrame ( FrameEventArgs e ) : void

Add your game logic here.

There is no need to call the base implementation.

Private Methods

Méthode Description
Main ( ) : void

Method Details

OnLoad() protected méthode

Setup OpenGL and load resources here.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs Not used.
Résultat void

OnRenderFrame() protected méthode

Add your game rendering code here.
There is no need to call the base implementation.
protected OnRenderFrame ( FrameEventArgs e ) : void
e FrameEventArgs Contains timing information.
Résultat void

OnResize() protected méthode

Respond to resize events here.
There is no need to call the base implementation.
protected OnResize ( EventArgs e ) : void
e System.EventArgs Contains information on the new GameWindow size.
Résultat void

OnUnload() protected méthode

protected OnUnload ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnUpdateFrame() protected méthode

Add your game logic here.
There is no need to call the base implementation.
protected OnUpdateFrame ( FrameEventArgs e ) : void
e FrameEventArgs Contains timing information.
Résultat void

T13_GLSL_Earth() public méthode

public T13_GLSL_Earth ( ) : System
Résultat System