C# Class Afterglow.Graphics.Examples.OpenTKSceneTestBase

Inheritance: IScene
Show file Open project: Christof/afterglow

Public Methods

Method Description
Load ( ) : void

Loads the resources for this scene.

Render ( ) : void

Renders the scene.

Update ( IFrameInfo frameInfo ) : void

Updates the scene every frame.

Private Methods

Method Description
AssertWithScreenshot ( ) : void
MainLoop ( ) : void
PeekMessage ( NativeMessage &message, IntPtr hwnd, uint messageFilterMin, uint messageFilterMax, uint flags ) : bool
Run ( ) : void
Setup ( ) : void
TearDown ( ) : void

Method Details

Load() public abstract method

Loads the resources for this scene.
public abstract Load ( ) : void
return void

Render() public abstract method

Renders the scene.
public abstract Render ( ) : void
return void

Update() public abstract method

Updates the scene every frame.
public abstract Update ( IFrameInfo frameInfo ) : void
frameInfo IFrameInfo The frame info.
return void