/// <summary> /// Invalidates the specified terrain layer in the data cached by the renderer. /// </summary> /// <param name="layer">The terrain layer which should be invalidated.</param> /// <inheritdoc cref="Graphics.Terrain.Invalidate()"/> /// <exception cref="ArgumentNullException"> /// <paramref name="layer"/> is <see langword="null"/>. /// </exception> public void Invalidate(TerrainLayer layer) { if (Terrain != null) { Terrain.Invalidate(this, layer); } }
/// <overloads> /// <summary> /// Invalidates the data cached by the renderer. /// </summary> /// </overloads> /// /// <summary> /// Invalidates the terrain tile in the data cached by the renderer. /// </summary> /// <inheritdoc cref="Graphics.Terrain.Invalidate()"/> public void Invalidate() { if (Terrain != null) { Terrain.Invalidate(this); } }