# SubPassFlags

> Flags to indicate specialized native subpass behaviour.

## Definition

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

```csharp
[Flags]
public enum SubPassFlags
```

## Fields

| Value                                                                                                                                      | Description                                                                                                                                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [MultiviewRenderRegionsCompatible](/engine/6000.7/script-reference/unityengine/rendering/subpassflags/multiviewrenderregionscompatible.md) | This sub pass is compatible with Multiview Render Regions.                                                                                                             |
| [None](/engine/6000.7/script-reference/unityengine/rendering/subpassflags/none.md)                                                         | Default flags.                                                                                                                                                         |
| [ReadOnlyDepth](/engine/6000.7/script-reference/unityengine/rendering/subpassflags/readonlydepth.md)                                       | The depth attachment is read-only in this sub pass. Some renderers require this in order to be able to use the depth attachment as input.                              |
| [ReadOnlyDepthStencil](/engine/6000.7/script-reference/unityengine/rendering/subpassflags/readonlydepthstencil.md)                         | The stencil attachment is read-only in this sub pass. Some renderers require this in order to be able to use the stencil attachment as input.                          |
| [ReadOnlyStencil](/engine/6000.7/script-reference/unityengine/rendering/subpassflags/readonlystencil.md)                                   | Both depth and stencil attachments are read-only in this sub pass. Some renderers require this in order to be able to use the depth and stencil attachments as inputs. |
| [TileProperties](/engine/6000.7/script-reference/unityengine/rendering/subpassflags/tileproperties.md)                                     | Frame buffer tile properties of this sub pass could potentially be used for performance gains on some platforms.                                                       |
| [UseShadingRateImage](/engine/6000.7/script-reference/unityengine/rendering/subpassflags/useshadingrateimage.md)                           | This sub pass has a shading rate image attachment.                                                                                                                     |
