# TerrainBrushPreviewMode

> Enum to specify whether DrawBrushPreview previews the source render texture or the destination render texture of a PaintContext.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.TerrainTools](/engine/6000.6/script-reference/unityeditor/terraintools.md)
* **Assembly:** UnityEditor

```csharp
public enum TerrainBrushPreviewMode
```

## Fields

| Value                                                                                                                                    | Description                                                                                                                                                                                                                                                                                              |
| ---------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DestinationRenderTexture](/engine/6000.6/script-reference/unityeditor/terraintools/terrainbrushpreviewmode/destinationrendertexture.md) | Specifies that [TerrainPaintUtilityEditor.DrawBrushPreview](/engine/6000.6/script-reference/unityeditor/terraintools/terrainpaintutilityeditor/drawbrushpreview.md) uses the destination render texture of the [PaintContext](/engine/6000.6/script-reference/unityengine/terraintools/paintcontext.md). |
| [SourceRenderTexture](/engine/6000.6/script-reference/unityeditor/terraintools/terrainbrushpreviewmode/sourcerendertexture.md)           | Specifies that [TerrainPaintUtilityEditor.DrawBrushPreview](/engine/6000.6/script-reference/unityeditor/terraintools/terrainpaintutilityeditor/drawbrushpreview.md) uses the source render texture of the [PaintContext](/engine/6000.6/script-reference/unityengine/terraintools/paintcontext.md).      |
