C# Class TerrainDemo.CDLOD.TerrainEffect

Inheritance: IEffectMatrices
显示文件 Open project: willcraftia/TestXna Class Usage Examples

Public Methods

Method Description
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().

Private Methods

Method Description
CacheEffectParameters ( ) : void

Cache effect parameter accessors.

CacheEffectTequniques ( ) : void

Cache effect technique accessors.

Method Details

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