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

# SetCompileTimeShaderPdbPathX (XBOX Series 主機)

> 用來指定驅動程式儲存光線追蹤 PSO PDB 的路徑。

用來指定驅動程式儲存光線追蹤 PSO PDB 的路徑 (在主機上，或在離線編譯案例中的 PC 上)。如果遊戲未呼叫此 API，則呼叫期間不會儲存任何 PDB。

## 語法

```cpp theme={null}
void SetCompileTimeShaderPdbPathX(
  const wchar_t* pShaderPdbPath
)
```

### 參數

*pShaderPdbPath*   \_In\_
類型：const wchar\_t\*

驅動程式儲存 PDB 的路徑。

## 需求

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

## 另請參閱

[d3d12\_xs 成員](/zh-TW/reference/graphics/d3d12_xs/d3d12_xs_members)\
[ID3D12Device8](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3D12Device8/id3d12device8)


## Related topics

- [Debugging XBOX projects by using Visual Studio](/tools/tools-console/visualstudio/debugging-with-visualstudio.md)
- [HLSL shader compiler (DXC) for the XBOX GDK](/tools/tools-console/shadercompiler/index.md)
- [XBOX Series X|S 總覽](/zh-TW/paths/series-xs/overview.md)
- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [Compile e execute seu primeiro título de console com o GDKX](/pt-BR/home/build-first-title/first-console-title-walkthrough.md)
