C# Class TiledTerrainDemo.DemoLandscape.TerrainEffect

Inheritance: IEffectFog
Datei anzeigen Open project: willcraftia/TestXna Class Usage Examples

Public Methods

Method Description
CacheEffectParameters ( ) : void

Cache effect parameter accessors.

CacheEffectTequniques ( ) : void

Cache effect technique accessors.

SetDiffuseRange0 ( float min, float max ) : void
SetDiffuseRange1 ( float min, float max ) : void
SetDiffuseRange2 ( float min, float max ) : void
SetDiffuseRange3 ( float min, float max ) : void
TerrainEffect ( Effect backingEffect ) : System

If not share a backing effect, clone it before specifing to this constructor. This class does not the backing effect's Dispose().

Method Details

CacheEffectParameters() public method

Cache effect parameter accessors.
public CacheEffectParameters ( ) : void
return void

CacheEffectTequniques() public method

Cache effect technique accessors.
public CacheEffectTequniques ( ) : void
return void

SetDiffuseRange0() public method

public SetDiffuseRange0 ( float min, float max ) : void
min float
max float
return void

SetDiffuseRange1() public method

public SetDiffuseRange1 ( float min, float max ) : void
min float
max float
return void

SetDiffuseRange2() public method

public SetDiffuseRange2 ( float min, float max ) : void
min float
max float
return void

SetDiffuseRange3() public method

public SetDiffuseRange3 ( float min, float max ) : void
min float
max float
return void

TerrainEffect() public method

If not share a backing effect, clone it before specifing to this constructor. This class does not the backing effect's Dispose().
public TerrainEffect ( Effect backingEffect ) : System
backingEffect Microsoft.Xna.Framework.Graphics.Effect An effect supporting the CDLOD instancing.
return System