C# Class Dwarrowdelf.Client.TerrainEffect

Inheritance: SharpDX.Toolkit.Graphics.Effect
Show file Open project: tomba/dwarrowdelf Class Usage Examples

Public Methods

Method Description
CreateGameColorBuffer ( ) : void

Create a buffer containing all GameColors

SetPerObjectConstBuf ( IntVector3 offset ) : void
TerrainEffect ( GraphicsDevice device, SharpDX.Toolkit.Graphics.EffectData effectData ) : System

Protected Methods

Method Description
Initialize ( ) : void
OnApply ( SharpDX.Toolkit.Graphics.EffectPass pass ) : SharpDX.Toolkit.Graphics.EffectPass

Method Details

CreateGameColorBuffer() public method

Create a buffer containing all GameColors
public CreateGameColorBuffer ( ) : void
return void

Initialize() protected method

protected Initialize ( ) : void
return void

OnApply() protected method

protected OnApply ( SharpDX.Toolkit.Graphics.EffectPass pass ) : SharpDX.Toolkit.Graphics.EffectPass
pass SharpDX.Toolkit.Graphics.EffectPass
return SharpDX.Toolkit.Graphics.EffectPass

SetPerObjectConstBuf() public method

public SetPerObjectConstBuf ( IntVector3 offset ) : void
offset IntVector3
return void

TerrainEffect() public method

public TerrainEffect ( GraphicsDevice device, SharpDX.Toolkit.Graphics.EffectData effectData ) : System
device GraphicsDevice
effectData SharpDX.Toolkit.Graphics.EffectData
return System