# AttachmentDescriptor

> Create a AttachmentDescriptor to be used with RenderPass.

## Definition

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

## AttachmentDescriptor(GraphicsFormat)

Create a AttachmentDescriptor to be used with RenderPass.

```csharp
public AttachmentDescriptor(GraphicsFormat format)
```

### Parameters

**** (\[GraphicsFormat]\(/engine/7000.0/script-reference/unityengine/experimental/rendering/graphicsformat)): The format of this attachment.

## AttachmentDescriptor(RenderTextureFormat)

Create a AttachmentDescriptor to be used with RenderPass.

```csharp
public AttachmentDescriptor(RenderTextureFormat format)
```

### Parameters

**** (\[RenderTextureFormat]\(/engine/7000.0/script-reference/unityengine/rendertextureformat)): The format of this attachment.

## AttachmentDescriptor(RenderTextureFormat, RenderTargetIdentifier, bool, bool, bool)

Create a AttachmentDescriptor to be used with RenderPass.

```csharp
public AttachmentDescriptor(RenderTextureFormat format, RenderTargetIdentifier target, bool loadExistingContents = false, bool storeResults = false, bool resolve = false)
```

### Parameters

**** (\[RenderTextureFormat]\(/engine/7000.0/script-reference/unityengine/rendertextureformat)): The format of this attachment.**** (\[RenderTargetIdentifier]\(/engine/7000.0/script-reference/unityengine/rendering/rendertargetidentifier)): **** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): **** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): **** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;
