C# Class Afterglow.Graphics.Examples.OpenTKQuadWithIndexBuffer

Inheritance: OpenTKSceneTestBase
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
CreateColors ( ) : Afterglow.Math.Vector3[]
CreateIndices ( ) : uint[]
CreatePositions ( ) : Afterglow.Math.Vector3[]

Method Details

Load() public method

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

Render() public method

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

Update() public method

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