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

> 包裝轉譯目標格式的陣列。

包裝轉譯目標格式的陣列。

## 語法

```cpp theme={null}
typedef struct D3D12_RT_FORMAT_ARRAY
{
    DXGI_FORMAT RTFormats;
    UINT NumRenderTargets;
} D3D12_RT_FORMAT_ARRAY
```

### 成員

*RTFormats*\
類型：DXGI\_FORMAT\[8]

指定 DXGI\_FORMAT 值的固定大小陣列，定義最多 8 個轉譯目標的格式。

*NumRenderTargets*\
類型：UINT

指定陣列中儲存的轉譯目標格式數目。

## 備註

此結構主要用於建立包含多個連續轉譯目標格式描述的管線狀態串流描述。

## 需求

**標頭:** 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/direct3d-12-structures)


## Related topics

- [D3D12_FORMAT_SUPPORT1](/zh-TW/reference/graphics/d3d12/enums/d3d12_format_support1_public.md)
- [D3D12_FORMAT_SUPPORT2](/zh-TW/reference/graphics/d3d12/enums/d3d12_format_support2_public.md)
- [D3D12_FEATURE_DATA_FORMAT_SUPPORT](/zh-TW/reference/graphics/d3d12/structs/d3d12_feature_data_format_support_public.md)
- [D3D12_FEATURE_DATA_FORMAT_INFO](/zh-TW/reference/graphics/d3d12/structs/d3d12_feature_data_format_info_public.md)
- [D3D12_TEXCUBE_ARRAY_SRV](/zh-TW/reference/graphics/d3d12/structs/d3d12_texcube_array_srv_public.md)
