# CameraClearFlags

> Values for Camera.clearFlags, determining what to clear when rendering a Camera.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public enum CameraClearFlags
```

## Remarks

Additional Resources: [camera component](/engine/6000.6/manual/cameras/birp/class-camera.md).

## Fields

| Value                                                                                    | Description                    |
| ---------------------------------------------------------------------------------------- | ------------------------------ |
| [Depth](/engine/6000.6/script-reference/unityengine/cameraclearflags/depth.md)           | Clear only the depth buffer.   |
| [Nothing](/engine/6000.6/script-reference/unityengine/cameraclearflags/nothing.md)       | Don't clear anything.          |
| [Skybox](/engine/6000.6/script-reference/unityengine/cameraclearflags/skybox.md)         | Clear with the skybox.         |
| [SolidColor](/engine/6000.6/script-reference/unityengine/cameraclearflags/solidcolor.md) | Clear with a background color. |
