# AttachmentDescriptor

> Create a AttachmentDescriptor to be used with RenderPass.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.Rendering](/engine/6000.6/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/6000.6/script-reference/unityengine/experimental/rendering/graphicsformat)):&#x20;

## AttachmentDescriptor(RenderTextureFormat)

Create a AttachmentDescriptor to be used with RenderPass.

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

### Parameters

**** (\[RenderTextureFormat]\(/engine/6000.6/script-reference/unityengine/rendertextureformat)):&#x20;

## 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/6000.6/script-reference/unityengine/rendertextureformat)): **** (\[RenderTargetIdentifier]\(/engine/6000.6/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;
