> ## 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_FLAGS (XBOX Series 主機)

> 指定轉譯階段的性質；例如，它是暫停轉譯階段還是繼續轉譯階段。

指定轉譯階段的性質；例如，它是暫停轉譯階段還是繼續轉譯階段。

## 語法

```cpp theme={null}
typedef enum D3D12_RENDER_PASS_FLAGS
{
    D3D12_RENDER_PASS_FLAG_NONE = 0,
    D3D12_RENDER_PASS_FLAG_ALLOW_UAV_WRITES = 1,
    D3D12_RENDER_PASS_FLAG_SUSPENDING_PASS = 2,
    D3D12_RENDER_PASS_FLAG_RESUMING_PASS = 4
} D3D12_RENDER_PASS_FLAGS
```

## 常數

| 常數 | 描述 |
| - | - |
| D3D12\_RENDER\_PASS\_FLAG\_NONE | 表示轉譯階段沒有特殊需求。 |
| D3D12\_RENDER\_PASS\_FLAG\_ALLOW\_UAV\_WRITES | 表示在轉譯階段期間應允許寫入無序存取檢視。 |
| D3D12\_RENDER\_PASS\_FLAG\_SUSPENDING\_PASS | 表示這是暫停轉譯階段。 |
| D3D12\_RENDER\_PASS\_FLAG\_RESUMING\_PASS | 表示這是繼續轉譯階段。 |

## 需求

**標頭:** d3d12\_xs.h\
**程式庫:** d3d12\_xs.lib\
**支援的平台**: XBOX Series 主機

## 另請參閱

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


## Related topics

- [BeginRenderPass (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist4/methods/id3d12graphicscommandlist4_beginrenderpass_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_TIER](/zh-TW/reference/graphics/d3d12/enums/d3d12_render_pass_tier_public.md)
- [EndRenderPass (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist4/methods/id3d12graphicscommandlist4_endrenderpass_public.md)
- [D3D12_RENDER_PASS_BEGINNING_ACCESS](/zh-TW/reference/graphics/d3d12/structs/d3d12_render_pass_beginning_access_public.md)
