Click or drag to resize
DigitalRuneTerrainInvalidate Method (TerrainTile)
Invalidates the specified terrain tile in the data cached by the renderer.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void Invalidate(
	TerrainTile tile
)

Parameters

tile
Type: DigitalRune.GraphicsTerrainTile
The terrain tile which should be invalidated.
Exceptions
ExceptionCondition
ArgumentNullExceptiontile is .
Remarks

This method notifies the renderers that cached data (e.g. terrain clipmaps) needs to be updated.

The Invalidate method or its overloads are called automatically when terrain tiles or layers are added to/removed from the terrain. If any other data that affects the appearance of the terrain is changed, the method Invalidate needs to be called manually.

See Also