C# Class Examples.Tutorial.JuliaSetFractal

Inheritance: OpenTK.GameWindow
显示文件 Open project: tpb3d/TPB3D Class Usage Examples

Public Methods

Method Description
JuliaSetFractal ( ) : System
KeyUp ( object sender, KeyboardKeyEventArgs e ) : void

Protected Methods

Method 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

Method Description
Main ( ) : void

Method Details

JuliaSetFractal() public method

public JuliaSetFractal ( ) : System
return System

KeyUp() public method

public KeyUp ( object sender, KeyboardKeyEventArgs e ) : void
sender object
e OpenTK.Input.KeyboardKeyEventArgs
return void

OnLoad() protected method

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

OnRenderFrame() protected method

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.
return void

OnResize() protected method

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.
return void

OnUnload() protected method

protected OnUnload ( EventArgs e ) : void
e System.EventArgs
return void

OnUpdateFrame() protected method

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