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

> 描述应用程序在过渡到渲染通道时请求的对资源的访问。

描述应用程序在过渡到渲染通道时请求的对资源的访问。

## 语法

```cpp theme={null}
typedef struct D3D12_RENDER_PASS_BEGINNING_ACCESS
{
    D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE Type;
    D3D12_RENDER_PASS_BEGINNING_ACCESS_CLEAR_PARAMETERS Clear;
} D3D12_RENDER_PASS_BEGINNING_ACCESS
```

### 成员

*Type*\
类型：D3D12\_RENDER\_PASS\_BEGINNING\_ACCESS\_TYPE

一个 [D3D12\_RENDER\_PASS\_BEGINNING\_ACCESS\_TYPE](/reference/graphics/d3d12/enums/d3d12_render_pass_beginning_access_type_public)。请求的访问类型。

*Clear*\
类型：D3D12\_RENDER\_PASS\_BEGINNING\_ACCESS\_CLEAR\_PARAMETERS

一个 [D3D12\_RENDER\_PASS\_BEGINNING\_ACCESS\_CLEAR\_PARAMETERS](/reference/graphics/d3d12/structs/d3d12_render_pass_beginning_access_clear_parameters_public)。当 **Type** 为 [D3D12\_RENDER\_PASS\_BEGINNING\_ACCESS\_TYPE\_CLEAR](/reference/graphics/d3d12/enums/d3d12_render_pass_beginning_access_type_public) 时适用。资源应清除到的清除值。

## 要求

**头文件：** d3d12\_xs.h 或 d3d12\_x.h\
**库：** d3d12\_xs.lib 或 d3d12\_x.lib\
**支持的平台**：XBOX Series 主机和 XBOX One 系列

## 另请参阅

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


## Related topics

- [D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE](/zh-CN/reference/graphics/d3d12/enums/d3d12_render_pass_beginning_access_type_public.md)
- [D3D12_RENDER_PASS_DEPTH_STENCIL_DESC](/zh-CN/reference/graphics/d3d12/structs/d3d12_render_pass_depth_stencil_desc_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_ENDING_ACCESS_TYPE](/zh-CN/reference/graphics/d3d12/enums/d3d12_render_pass_ending_access_type_public.md)
- [D3D12_RENDER_PASS_BEGINNING_ACCESS_CLEAR_PARAMETERS](/zh-CN/reference/graphics/d3d12/structs/d3d12_render_pass_beginning_access_clear_parameters_public.md)
