C# Class Afterglow.Graphics.Effects.XnaEffectCompiler

Xna effect compiler.
Inheritance: IEffectCompiler
显示文件 Open project: Christof/afterglow

Public Methods

Method Description
Compile ( string path ) : IEffect

Compiles an effect file specified trough the given path.

XnaEffectCompiler ( GraphicsDevice device ) : System

Initializes a new instance of the XnaEffectCompiler class.

Method Details

Compile() public method

Compiles an effect file specified trough the given path.
public Compile ( string path ) : IEffect
path string The path to the effect file.
return IEffect

XnaEffectCompiler() public method

Initializes a new instance of the XnaEffectCompiler class.
public XnaEffectCompiler ( GraphicsDevice device ) : System
device GraphicsDevice The device.
return System