> ## 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](/reference/graphics/d3d12_xs/interfaces/ID3D12Resource/id3d12resource_xs) 的指针。源资源。

*pDstResource*\
类型：ID3D12Resource \*

指向 [ID3D12Resource](/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](/reference/graphics/d3d12/structs/d3d12_render_pass_ending_access_resolve_subresource_parameters_public) 的常量数组的指针。这些子资源可以是渲染目标数组切片的子集，但不能针对不属于渲染目标视图 (RTV) 或深度/模板视图 (DSV) 的子资源。

<Note>
  此指针由命令列表直接引用，并且此数组的内存必须保持活动且完整，直到调用 [EndRenderPass](/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](/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 系列

## 另请参阅

[Rendering](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/rendering)


## Related topics

- [D3D12_RENDER_PASS_ENDING_ACCESS](/zh-CN/reference/graphics/d3d12/structs/d3d12_render_pass_ending_access_public.md)
- [D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_SUBRESOURCE_PARAMETERS](/zh-CN/reference/graphics/d3d12/structs/d3d12_render_pass_ending_access_resolve_subresource_parameters_public.md)
- [D3D12_RENDER_PASS_ENDING_ACCESS_TYPE](/zh-CN/reference/graphics/d3d12/enums/d3d12_render_pass_ending_access_type_public.md)
- [D3D12_RENDER_PASS_RENDER_TARGET_DESC](/zh-CN/reference/graphics/d3d12/structs/d3d12_render_pass_render_target_desc_public.md)
- [D3D12_RENDER_PASS_DEPTH_STENCIL_DESC](/zh-CN/reference/graphics/d3d12/structs/d3d12_render_pass_depth_stencil_desc_public.md)
