> ## 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_RESOLVE_MODE

> Specifies a resolve operation.

Specifies a resolve operation.

## Syntax

```cpp theme={null}
typedef enum D3D12_RESOLVE_MODE
{
    D3D12_RESOLVE_MODE_DECOMPRESS = 0,
    D3D12_RESOLVE_MODE_MIN = 1,
    D3D12_RESOLVE_MODE_MAX = 2,
    D3D12_RESOLVE_MODE_AVERAGE = 3
} D3D12_RESOLVE_MODE
```

## Constants

| Constant                         | Description                                                                                                                                                                                                                                                             |
| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| D3D12\_RESOLVE\_MODE\_DECOMPRESS | Resolves compressed source samples to their uncompressed values. When using this operation, the source and destination resources must have the same sample count, unlike the min, max, and average operations that require the destination to have a sample count of 1. |
| D3D12\_RESOLVE\_MODE\_MIN        | Resolves the source samples to their minimum value. It can be used with any render target or depth stencil format.                                                                                                                                                      |
| D3D12\_RESOLVE\_MODE\_MAX        | Resolves the source samples to their maximum value. It can be used with any render target or depth stencil format.                                                                                                                                                      |
| D3D12\_RESOLVE\_MODE\_AVERAGE    | Resolves the source samples to their average value. It can be used with any non-integer render target format, including the depth plane. It can't be used with integer render target formats, including the stencil plane.                                              |

## Remarks

This enum is used by the [ID3D12GraphicsCommandList1::ResolveSubresourceRegion](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist1/methods/id3d12graphicscommandlist1_resolvesubresourceregion_public) function.

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**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

- [D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_PARAMETERS](/reference/graphics/d3d12/structs/d3d12_render_pass_ending_access_resolve_parameters_public.md)
- [ResolveSubresourceRegion](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist1/methods/id3d12graphicscommandlist1_resolvesubresourceregion_public.md)
- [D3D12_RENDER_PASS_ENDING_ACCESS](/reference/graphics/d3d12/structs/d3d12_render_pass_ending_access_public.md)
- [D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_SUBRESOURCE_PARAMETERS](/reference/graphics/d3d12/structs/d3d12_render_pass_ending_access_resolve_subresource_parameters_public.md)
- [D3D12_WRITEBUFFERIMMEDIATE_MODE](/reference/graphics/d3d12/enums/d3d12_writebufferimmediate_mode_public.md)
