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

# IDXGIObject (XBOX Series 主機)

> 所有 DXGI 物件的基底介面；`IDXGIObject` 支援將呼叫端定義的資料 (私用資料) 與物件建立關聯，以及擷取介面。

所有 DXGI 物件的基底介面；`IDXGIObject` 支援將呼叫端定義的資料 (私用資料) 與物件建立關聯，以及擷取父物件的介面。

## 語法

```cpp theme={null}
class IDXGIObject : public IGraphicsUnknown  
```

## 方法

| 方法 | 描述 |
| - | - |
| [GetParent](/zh-TW/reference/graphics/d3d12_xs/interfaces/IDXGIObject/methods/idxgiobject_getparent) | 取得物件的父系。 |
| [GetPrivateData](/zh-TW/reference/graphics/d3d12_xs/interfaces/IDXGIObject/methods/idxgiobject_getprivatedata) | 取得指向物件資料的指標。 |
| [SetPrivateData](/zh-TW/reference/graphics/d3d12_xs/interfaces/IDXGIObject/methods/idxgiobject_setprivatedata) | 將應用程式定義的資料設定至物件，並將該資料與 GUID 建立關聯。 |
| [SetPrivateDataInterface](/zh-TW/reference/graphics/d3d12_xs/interfaces/IDXGIObject/methods/idxgiobject_setprivatedatainterface) | 在物件的私用資料中設定介面。 |

## 需求

**標頭：** 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)
- [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)
- [XR-130 XBOX Series X|S 世代](/zh-TW/publishing/certification/xr/xr-130.md)
