C# Class Frost.DirectX.Composition.ShaderCache

Inheritance: IShaderCompiler, IDisposable
Show file Open project: fealty/Frost

Public Methods

Method Description
Dispose ( ) : void
Resolve ( ShaderHandle shader ) : SharpDX.Direct3D10.PixelShader
ShaderCache ( Device device3D, Device2D device2D ) : System

Private Methods

Method Description
Compile ( string text, string function, ShaderHandle &result ) : void
Dispose ( bool disposing ) : void
IShaderCompiler ( string text, string function, ShaderHandle &result ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Resolve() public method

public Resolve ( ShaderHandle shader ) : SharpDX.Direct3D10.PixelShader
shader ShaderHandle
return SharpDX.Direct3D10.PixelShader

ShaderCache() public method

public ShaderCache ( Device device3D, Device2D device2D ) : System
device3D Device
device2D Device2D
return System