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

# ID3DInclude (XBOX Series 主機)

> ID3DInclude 是由使用者實作的 include 介面，可讓應用程式呼叫使用者可覆寫的方法，以開啟和關閉著色器 #include 檔案。

ID3DInclude 是由使用者實作的 include 介面，可讓應用程式呼叫使用者可覆寫的方法，以開啟和關閉著色器 #include 檔案。

## 語法

```cpp theme={null}
class ID3DInclude  
```

## 方法

| 方法 | 描述 |
| - | - |
| [ID3DInclude::Close](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3DInclude/methods/id3dinclude_close) | 由使用者實作的方法，用來關閉著色器 #include 檔案。 |
| [Open](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3DInclude/methods/id3dinclude_open) | 由使用者實作的方法，用來開啟及讀取著色器的內容。 |

## 需求

**標頭：** 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)
- [使用 GDKX 建置並執行你的第一個主機遊戲](/zh-TW/home/build-first-title/first-console-title-walkthrough.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)
