> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_RESIDENCY_PRIORITY

> Specifies broad residency priority buckets useful for quickly establishing an application priority scheme.

Specifies broad residency priority buckets useful for quickly establishing an application priority scheme.

Applications can assign priority values other than the five values present in this enumeration.

## Syntax

```cpp theme={null}
typedef enum D3D12_RESIDENCY_PRIORITY
{
    D3D12_RESIDENCY_PRIORITY_MINIMUM = 671088640,
    D3D12_RESIDENCY_PRIORITY_LOW = 1342177280,
    D3D12_RESIDENCY_PRIORITY_NORMAL = 2013265920,
    D3D12_RESIDENCY_PRIORITY_HIGH = -1610547200,
    D3D12_RESIDENCY_PRIORITY_MAXIMUM = -939524096
} D3D12_RESIDENCY_PRIORITY
```

## Constants

| Constant                            | Description                                                                                                                                                                                                                                                                                                                                         |
| ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| D3D12\_RESIDENCY\_PRIORITY\_MINIMUM | Indicates a minimum priority.                                                                                                                                                                                                                                                                                                                       |
| D3D12\_RESIDENCY\_PRIORITY\_LOW     | Indicates a low priority.                                                                                                                                                                                                                                                                                                                           |
| D3D12\_RESIDENCY\_PRIORITY\_NORMAL  | Indicates a normal, medium, priority.                                                                                                                                                                                                                                                                                                               |
| D3D12\_RESIDENCY\_PRIORITY\_HIGH    | Indicates a high priority. Applications are discouraged from using priories greater than this. For more information see [ID3D12Device1::SetResidencyPriority](/reference/graphics/d3d12/interfaces/id3d12device1/methods/id3d12device1_setresidencypriority_public).                                                                                |
| D3D12\_RESIDENCY\_PRIORITY\_MAXIMUM | Indicates a maximum priority. Applications are discouraged from using priorities greater than this; **D3D12\_RESIDENCY\_PRIORITY\_MAXIMUM** is not guaranteed to be available. For more information see [ID3D12Device1::SetResidencyPriority](/reference/graphics/d3d12/interfaces/id3d12device1/methods/id3d12device1_setresidencypriority_public) |

## Remarks

This enum is used by the [SetResidencyPriority](/reference/graphics/d3d12/interfaces/id3d12device1/methods/id3d12device1_setresidencypriority_public) method.

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h<br />**Library:** d3d12\_xs.lib or d3d12\_x.lib<br />**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[Core Enumerations](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-enumerations)


## Related topics

- [SetResidencyPriority](/reference/graphics/d3d12/interfaces/id3d12device1/methods/id3d12device1_setresidencypriority_public.md)
- [D3D12_RESIDENCY_FLAGS](/reference/graphics/d3d12/enums/d3d12_residency_flags_public.md)
- [D3D12_COMMAND_QUEUE_PRIORITY](/reference/graphics/d3d12/enums/d3d12_command_queue_priority_public.md)
- [D3D12_FEATURE_DATA_COMMAND_QUEUE_PRIORITY](/reference/graphics/d3d12/structs/d3d12_feature_data_command_queue_priority_public.md)
- [D3D12_COMMAND_QUEUE_DESC](/reference/graphics/d3d12/structs/d3d12_command_queue_desc_public.md)
