C# Class Afterglow.Graphics.Effects.SlimDXEffectCompiler

Implementation of an effect compiler for SlimDX.
Inheritance: IEffectCompiler
Show file Open project: Christof/afterglow

Public Methods

Method Description
Compile ( string path ) : IEffect

Compiles an effect file specified trough the given path.

SlimDXEffectCompiler ( Device device ) : SlimDX.Direct3D10

Initializes a new instance of the SlimDXEffectCompiler 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

SlimDXEffectCompiler() public method

Initializes a new instance of the SlimDXEffectCompiler class.
public SlimDXEffectCompiler ( Device device ) : SlimDX.Direct3D10
device Device The device.
return SlimDX.Direct3D10