# GetMirrorViewBlitDesc

> Get a mirror view blit operation descriptor from the current display subsystem.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.XR](/engine/6000.0/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule

## GetMirrorViewBlitDesc(RenderTexture, XRMirrorViewBlitDesc)

Get a mirror view blit operation descriptor from the current display subsystem.

> **Warning:**
>
> **Deprecated.** GetMirrorViewBlitDesc(RenderTexture, out XRMirrorViewBlitDesc) is deprecated. Use GetMirrorViewBlitDesc(RenderTexture, out XRMirrorViewBlitDesc, int) instead.

```csharp
public bool GetMirrorViewBlitDesc(RenderTexture mirrorRt, out XRDisplaySubsystem.XRMirrorViewBlitDesc outDesc)
```

### Parameters

**** (\[RenderTexture]\(/engine/6000.0/script-reference/unityengine/rendertexture)): A render texture representing mirror view's render target.**** (\[XRMirrorViewBlitDesc]\(/engine/6000.0/script-reference/unityengine/xr/xrdisplaysubsystem/xrmirrorviewblitdesc)): Information that describes desired mirror view blit operation.

### Returns

| Type                                                          | Description                                                            |
| ------------------------------------------------------------- | ---------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Return true if information is retrieved successfully, false otherwise. |

## GetMirrorViewBlitDesc(RenderTexture, XRMirrorViewBlitDesc, int)

Get a mirror view blit operation descriptor from the current display subsystem.

```csharp
public bool GetMirrorViewBlitDesc(RenderTexture mirrorRt, out XRDisplaySubsystem.XRMirrorViewBlitDesc outDesc, int mode)
```

### Parameters

**** (\[RenderTexture]\(/engine/6000.0/script-reference/unityengine/rendertexture)): A render texture representing mirror view's render target.**** (\[XRMirrorViewBlitDesc]\(/engine/6000.0/script-reference/unityengine/xr/xrdisplaysubsystem/xrmirrorviewblitdesc)): Information that describes desired mirror view blit operation.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The [XRMirrorViewBlitMode](/engine/6000.0/script-reference/unityengine/xr/xrmirrorviewblitmode.md) XR display should perform.

### Returns

| Type                                                          | Description                                                            |
| ------------------------------------------------------------- | ---------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Return true if information is retrieved successfully, false otherwise. |
