| TerrainInvalidate Method (Aabb) |
Invalidates the specified region in the data cached by the renderer.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void Invalidate(
Aabb aabb
)
Public Sub Invalidate (
aabb As Aabb
)
public:
void Invalidate(
Aabb aabb
)
member Invalidate :
aabb : Aabb -> unit
Parameters
- aabb
- Type: DigitalRune.Geometry.ShapesAabb
The axis-aligned bounding box of the invalid region.
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