Click or drag to resize
DigitalRuneTerrainTileInvalidate Method (TerrainLayer)
Invalidates the specified terrain layer 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(
	TerrainLayer layer
)

Parameters

layer
Type: DigitalRune.GraphicsTerrainLayer
The terrain layer which should be invalidated.
Exceptions
ExceptionCondition
ArgumentNullExceptionlayer 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