C# Class Examples.Tutorial.T02_Vertex_Arrays

Inheritance: OpenTK.GameWindow
Afficher le fichier Open project: jwatte/gears

Méthodes publiques

Свойство Type Description
order int

Méthodes publiques

Méthode Description
Launch ( ) : void

Launches this example.

Provides a simple way for the example launcher to launch the examples.

T02_Vertex_Arrays ( ) : System

Méthodes protégées

Méthode Description
OnLoad ( EventArgs e ) : void
OnRenderFrame ( FrameEventArgs e ) : void

Place your rendering code here.

OnResize ( EventArgs e ) : void

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.

Private Methods

Méthode Description
Keyboard_KeyUp ( object sender, KeyboardKeyEventArgs e ) : void

Method Details

Launch() public méthode

Launches this example.
Provides a simple way for the example launcher to launch the examples.
public Launch ( ) : void
Résultat void

OnLoad() protected méthode

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

OnRenderFrame() protected méthode

Place your rendering code here.
protected OnRenderFrame ( FrameEventArgs e ) : void
e FrameEventArgs
Résultat void

OnResize() protected méthode

Called when the user resizes the window.
You want the OpenGL viewport to match the window. This is the place to do it!
protected OnResize ( EventArgs e ) : void
e System.EventArgs Contains the new width/height of the window.
Résultat void

OnUpdateFrame() protected méthode

Prepares the next frame for rendering.
Place your control logic here. This is the place to respond to user input, update object positions etc.
protected OnUpdateFrame ( FrameEventArgs e ) : void
e FrameEventArgs
Résultat void

T02_Vertex_Arrays() public méthode

public T02_Vertex_Arrays ( ) : System
Résultat System

Property Details

order public_oe static_oe property

public static int order
Résultat int