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

> 描述目前圖形驅動程式針對指定格式支援哪些資源。(D3D12_FEATURE_DATA_FORMAT_SUPPORT)

描述目前圖形驅動程式針對指定格式支援哪些資源。

## 語法

```cpp theme={null}
typedef struct D3D12_FEATURE_DATA_FORMAT_SUPPORT
{
    DXGI_FORMAT Format;
    D3D12_FORMAT_SUPPORT1 Support1;
    D3D12_FORMAT_SUPPORT2 Support2;
} D3D12_FEATURE_DATA_FORMAT_SUPPORT
```

### 成員

*Format*\
類型：DXGI\_FORMAT

[DXGI\_FORMAT](https://learn.microsoft.com/en-us/windows/desktop/api/dxgiformat/ne-dxgiformat-dxgi_format) 類型值，表示要傳回其相關資訊的格式。

*Support1*\
類型：D3D12\_FORMAT\_SUPPORT1

使用位元 OR 運算結合的 [D3D12\_FORMAT\_SUPPORT1](/zh-TW/reference/graphics/d3d12/enums/d3d12_format_support1_public) 類型值組合。產生的值會指定支援哪些資源。

*Support2*\
類型：D3D12\_FORMAT\_SUPPORT2

使用位元 OR 運算結合的 [D3D12\_FORMAT\_SUPPORT2](/zh-TW/reference/graphics/d3d12/enums/d3d12_format_support2_public) 類型值組合。產生的值會指定支援哪些未排序資源選項。

## 備註

如需此結構的使用範例，請參閱[具類型的未排序存取檢視載入](https://learn.microsoft.com/en-us/windows/desktop/direct3d11/typed-unordered-access-view-loads)。

另請參閱 [D3D12\_FEATURE](/zh-TW/reference/graphics/d3d12/enums/d3d12_feature_public)。

<h3><a id="Hardware_support_for_DXGI_Formats" /><a id="hardware_support_for_dxgi_formats" /><a id="HARDWARE_SUPPORT_FOR_DXGI_FORMATS" />DXGI 格式的硬體支援</h3>
若要檢視 DXGI 格式和硬體功能的表格，請參閱：

<ul>
  <li>
    [Direct3D 功能層級 12.1 硬體的 DXGI 格式支援](https://learn.microsoft.com/en-us/windows/desktop/direct3ddxgi/hardware-support-for-direct3d-12-1-formats)
  </li>

  <li>
    [Direct3D 功能層級 12.0 硬體的 DXGI 格式支援](https://learn.microsoft.com/en-us/windows/desktop/direct3ddxgi/hardware-support-for-direct3d-12-0-formats)
  </li>

  <li>
    [Direct3D 功能層級 11.1 硬體的 DXGI 格式支援](https://learn.microsoft.com/en-us/windows/desktop/direct3ddxgi/format-support-for-direct3d-11-1-feature-level-hardware)
  </li>

  <li>
    [Direct3D 功能層級 11.0 硬體的 DXGI 格式支援](https://learn.microsoft.com/en-us/windows/desktop/direct3ddxgi/format-support-for-direct3d-11-0-feature-level-hardware)
  </li>

  <li>
    [Direct3D 10Level9 格式的硬體支援](https://learn.microsoft.com/en-us/previous-versions/ff471324\(v=vs.85\))
  </li>

  <li>
    [Direct3D 10.1 格式的硬體支援](https://learn.microsoft.com/en-us/windows/desktop/direct3ddxgi/format-support-for-direct3d-feature-level-10-1-hardware)
  </li>

  <li>
    [Direct3D 10 格式的硬體支援](https://learn.microsoft.com/en-us/windows/desktop/direct3ddxgi/format-support-for-direct3d-feature-level-10-0-hardware)
  </li>
</ul>

## 需求

**標頭:** 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)

[D3D12\_FEATURE](/zh-TW/reference/graphics/d3d12/enums/d3d12_feature_public)

[具類型的未排序存取檢視載入](https://learn.microsoft.com/en-us/windows/desktop/direct3d11/typed-unordered-access-view-loads)


## 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](/zh-TW/reference/graphics/d3d12/enums/d3d12_feature_public.md)
- [D3D12_FEATURE_DATA_D3D12_OPTIONS3](/zh-TW/reference/graphics/d3d12/structs/d3d12_feature_data_d3d12_options3_public.md)
- [D3D12_FEATURE_DATA_FORMAT_INFO](/zh-TW/reference/graphics/d3d12/structs/d3d12_feature_data_format_info_public.md)
