TerrainInvalidate Method (TerrainLayer) |
Namespace: DigitalRune.Graphics
Exception | Condition |
---|---|
ArgumentNullException | layer is . |
GraphicsException | layer does not have a valid AABB. This method cannot be used. Use one of the other method overloads instead. |
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.