# IsCameraDrawModeSupported(CameraMode)

> Checks if the current rendering configuration supports the SceneView.CameraMode. The check includes custom validators.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public bool IsCameraDrawModeSupported(SceneView.CameraMode mode)
```

### Parameters

**** (\[CameraMode]\(/engine/6000.6/script-reference/unityeditor/sceneview/cameramode)): A [SceneView.CameraMode](/engine/6000.6/script-reference/unityeditor/sceneview/cameramode.md) to check.

### Returns

| Type                                                          | Description                                                                                                                                                   |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the current rendering configuration supports the [SceneView.CameraMode](/engine/6000.6/script-reference/unityeditor/sceneview/cameramode.md). |

### Remarks

A rendering configuration might not support a [SceneView.CameraMode](/engine/6000.6/script-reference/unityeditor/sceneview/cameramode.md) if the mode has a feature that the current render pipeline does not support. For example, if the render pipeline does not support Enlighten Realtime Global Illumination, and [SceneView.CameraMode](/engine/6000.6/script-reference/unityeditor/sceneview/cameramode.md) has a property [DrawCameraMode.RealtimeAlbedo](/engine/6000.6/script-reference/unityeditor/drawcameramode/realtimealbedo.md), this method returns false.

To register support for a draw mode feature in a custom render pipeline, use [SceneView.onValidateCameraMode](/engine/6000.6/script-reference/unityeditor/sceneview/onvalidatecameramode.md) to add a draw mode validation callback.
