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

> 描述在轉譯階段結束時要解析至的資源。

描述在轉譯階段結束時要解析至的資源。

## 語法

```cpp theme={null}
typedef struct D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_PARAMETERS
{
    ID3D12Resource  pSrcResource;
    ID3D12Resource  pDstResource;
    UINT SubresourceCount;
    const D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_SUBRESOURCE_PARAMETERS  pSubresourceParameters;
    DXGI_FORMAT Format;
    D3D12_RESOLVE_MODE ResolveMode;
    BOOL PreserveResolveSource;
} D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_PARAMETERS
```

### 成員

*pSrcResource*\
類型：ID3D12Resource \*

指向 [ID3D12Resource](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3D12Resource/id3d12resource_xs) 的指標。來源資源。

*pDstResource*\
類型：ID3D12Resource \*

指向 [ID3D12Resource](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3D12Resource/id3d12resource_xs) 的指標。目的地資源。

*SubresourceCount*\
類型：UINT

**UINT**。子資源的數目。

*pSubresourceParameters*\
類型：const D3D12\_RENDER\_PASS\_ENDING\_ACCESS\_RESOLVE\_SUBRESOURCE\_PARAMETERS \*

指向 [D3D12\_RENDER\_PASS\_ENDING\_ACCESS\_RESOLVE\_SUBRESOURCE\_PARAMETERS](/zh-TW/reference/graphics/d3d12/structs/d3d12_render_pass_ending_access_resolve_subresource_parameters_public) 常數陣列的指標。這些子資源可以是轉譯目標陣列配量的子集，但您無法以不屬於轉譯目標檢視 (RTV) 或深度/樣板檢視 (DSV) 的子資源為目標。

<Note>
  此指標會由命令清單直接參考，因此此陣列的記憶體必須保持有效且完整，直到呼叫 [EndRenderPass](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist4/methods/id3d12graphicscommandlist4_endrenderpass_public) 為止。
</Note>

*Format*\
類型：DXGI\_FORMAT

[DXGI\_FORMAT](https://learn.microsoft.com/en-us/windows/desktop/api/dxgiformat/ne-dxgiformat-dxgi_format)。資源的資料格式。

*ResolveMode*\
類型：D3D12\_RESOLVE\_MODE

[D3D12\_RESOLVE\_MODE](/zh-TW/reference/graphics/d3d12/enums/d3d12_resolve_mode_public)。解析作業。

*PreserveResolveSource*\
類型：BOOL

**BOOL**。**TRUE** 表示保留解析來源，否則為 **FALSE**。

## 需求

**標頭:** 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/rendering)


## Related topics

- [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_RENDER_PASS_ENDING_ACCESS_TYPE](/zh-TW/reference/graphics/d3d12/enums/d3d12_render_pass_ending_access_type_public.md)
- [D3D12_RENDER_PASS_RENDER_TARGET_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_render_pass_render_target_desc_public.md)
- [D3D12_RENDER_PASS_DEPTH_STENCIL_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_render_pass_depth_stencil_desc_public.md)
