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

# IDXGIDevice2 (XBOX Series 主機)

> IDXGIDevice2 (XBOX Series 主機)：IDXGIDevice 介面會針對產生影像資料的 DXGI 物件實作衍生類別。

IDXGIDevice 介面會針對產生影像資料的 DXGI 物件實作衍生類別。

## 語法

```cpp theme={null}
class IDXGIDevice2 : public IDXGIDevice1  
```

## 方法

| 方法 | 描述 |
| - | - |
| [EnqueueSetEvent](/zh-TW/reference/graphics/d3d12_xs/interfaces/IDXGIDevice2/methods/idxgidevice2_enqueuesetevent) | 排清所有未完成的轉譯命令，並在所有先前提交的轉譯命令完成後，將指定的事件物件設為已發出訊號狀態。 |
| [OfferResources](/zh-TW/reference/graphics/d3d12_xs/interfaces/IDXGIDevice2/methods/idxgidevice2_offerresources) | 允許作業系統藉由捨棄資源內容來釋放資源的視訊記憶體。 |
| [ReclaimResources](/zh-TW/reference/graphics/d3d12_xs/interfaces/IDXGIDevice2/methods/idxgidevice2_reclaimresources) | 還原對先前透過呼叫 IDXGIDevice2::OfferResources 所提供之資源的存取。 |

## 需求

**標頭：** d3d12\_xs.h\
**支援的平台：** XBOX Series 主機

## 另請參閱

[d3d12\_xs](/zh-TW/reference/graphics/d3d12_xs/d3d12_xs_members)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [ID3D12Device2](/reference/graphics/d3d12/interfaces/id3d12device2/id3d12device2_public.md)
- [XBOX Series X|S 總覽](/zh-TW/paths/series-xs/overview.md)
- [XBOX 主機遊戲的認證測試 XBOX 需求](/zh-TW/publishing/certification/console-cert-tested-requirements.md)
- [Play Anywhere(主機 + PC)總覽](/zh-TW/paths/play-anywhere/overview.md)
