C# Class Afterglow.Graphics.Rendering.XnaObjectRenderer

Object renderer for Xna.
Inheritance: IObjectRenderer
Show file Open project: Christof/afterglow

Public Methods

Method Description
Render ( ) : void

Renders the object.

XnaObjectRenderer ( Microsoft.Xna.Framework.Graphics.GraphicsDevice device, IEffect effect, IEnumerable bufferBindings ) : System.Collections.Generic

Initializes a new instance of the XnaObjectRenderer class.

Private Methods

Method Description
CreateVertexDeclarations ( ) : void

Method Details

Render() public method

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

XnaObjectRenderer() public method

Initializes a new instance of the XnaObjectRenderer class.
public XnaObjectRenderer ( Microsoft.Xna.Framework.Graphics.GraphicsDevice device, IEffect effect, IEnumerable bufferBindings ) : System.Collections.Generic
device Microsoft.Xna.Framework.Graphics.GraphicsDevice The device.
effect IEffect The effect.
bufferBindings IEnumerable The buffer bindings.
return System.Collections.Generic