> ## 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_DXIL_LIBRARY_DESC (XBOX Series 主機)

> 描述可包含在狀態物件中的 DXIL 程式庫狀態子物件。

描述可包含在狀態物件中的 DXIL 程式庫狀態子物件。

## 語法

```cpp theme={null}
typedef struct D3D12_DXIL_LIBRARY_DESC
{
    D3D12_SHADER_BYTECODE DXILLibrary;
    UINT NumExports;
    D3D12_EXPORT_DESC  pExports;
} D3D12_DXIL_LIBRARY_DESC
```

### 成員

*DXILLibrary*\
類型：D3D12\_SHADER\_BYTECODE

要包含在狀態物件中的程式庫。必須以程式庫目標 6.3 或更高版本編譯。您可以在同一個狀態物件/集合中或跨多個狀態物件/集合多次指定相同的程式庫，只要每次匯出的名稱在指定的狀態物件中不衝突即可。

*NumExports*\
類型：UINT

<i>pExports</i> 陣列的大小。如果為 0，則會從程式庫匯出所有項目。

#### pExports

選用的匯出陣列。如需詳細資訊，請參閱 [D3D12\_EXPORT\_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_export_desc_public)。

*pExports*\
類型：D3D12\_EXPORT\_DESC \*

## 需求

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


## Related topics

- [D3D12_EXPORT_DESC (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/structs/d3d12_export_desc_public.md)
- [D3D12_RAYTRACING_GEOMETRY_DESC (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_desc_public.md)
- [D3D12_DISPATCH_RAYS_DESC (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/structs/d3d12_dispatch_rays_desc_public.md)
- [D3D12_EXISTING_COLLECTION_DESC (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/structs/d3d12_existing_collection_desc_public.md)
- [D3D12_HIT_GROUP_DESC (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/structs/d3d12_hit_group_desc_public.md)
