> ## 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](/zh-TW/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](/zh-TW/reference/graphics/d3d12/structs/d3d12_render_pass_beginning_access_clear_parameters_public)。當 **Type** 為 [D3D12\_RENDER\_PASS\_BEGINNING\_ACCESS\_TYPE\_CLEAR](/zh-TW/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 系列

## 另請參閱

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


## Related topics

- [D3D12_RENDER_PASS_BEGINNING_ACCESS](/reference/graphics/d3d12/structs/d3d12_render_pass_beginning_access_public.md)
- [D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE](/reference/graphics/d3d12/enums/d3d12_render_pass_beginning_access_type_public.md)
