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

> 指定解析作業。

指定解析作業。

## 語法

```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
```

## 常數

| 常數 | 描述 |
| - | - |
| D3D12\_RESOLVE\_MODE\_DECOMPRESS | 將壓縮的來源樣本解析為其未壓縮的值。使用此作業時，來源與目的地資源必須具有相同的樣本數；這與 min、max 和 average 作業不同，後者要求目的地的樣本數為 1。 |
| D3D12\_RESOLVE\_MODE\_MIN | 將來源樣本解析為其最小值。可搭配任何轉譯目標或深度樣板格式使用。 |
| D3D12\_RESOLVE\_MODE\_MAX | 將來源樣本解析為其最大值。可搭配任何轉譯目標或深度樣板格式使用。 |
| D3D12\_RESOLVE\_MODE\_AVERAGE | 將來源樣本解析為其平均值。可搭配任何非整數轉譯目標格式使用，包括深度平面。無法搭配整數轉譯目標格式使用，包括樣板平面。 |

## 備註

此列舉由 [ID3D12GraphicsCommandList1::ResolveSubresourceRegion](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist1/methods/id3d12graphicscommandlist1_resolvesubresourceregion_public) 函式使用。

## 需求

**標頭:** d3d12\_xs.h 或 d3d12\_x.h\
**程式庫:** d3d12\_xs.lib 或 d3d12\_x.lib\
**支援的平台**: XBOX Series 主機與 XBOX One 系列

## 另請參閱

[核心列舉](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-enumerations)


## Related topics

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