---
title: GetRenderResolutionFromQualityMode(XeSSQuality, uint, uint, out uint, out uint)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/intel/graphicsdevice/getrenderresolutionfromqualitymode
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/intel/graphicsdevice/getrenderresolutionfromqualitymode.md
last_updated: 2026-11-30
generated_at: 2026-11-30T20:59:51.228Z
locale: en-us
---

# GetRenderResolutionFromQualityMode(XeSSQuality, uint, uint, out uint, out uint)

> Given quality mode and output resolution, calculates the optimal input resolution.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Intel](/engine/7000.0/script-reference/unityengine/intel.md)
* **Assembly:** [UnityEngine.IntelXeSSModule](/engine/7000.0/script-reference/modules/unityengine-intelxessmodule.md)

## GetRenderResolutionFromQualityMode(XeSSQuality, uint, uint, uint, uint)

```csharp
public bool GetRenderResolutionFromQualityMode(XeSSQuality qualityMode, uint displayWidth, uint displayHeight, out uint renderWidth, out uint renderHeight)
```

### Parameters

**** (\[XeSSQuality]\(/engine/7000.0/script-reference/unityengine/intel/xessquality)): XeSS quality mode.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Width of output resolution.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Height of output resolution.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Width of optimal input resolution.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Height of optimal input resolution.

### Returns

| Type                                                          | Description                                        |
| ------------------------------------------------------------- | -------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | true if the query was successful, false otherwise. |
