# MaxAttachments

> Maximum number of indices this struct can hold. This is directly tied to the maximum number of attachments in a native render pass (8).

## Definition

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

```csharp
public const int MaxAttachments = 8
```
