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

> 描述可包含在狀態物件中之現有集合的狀態子物件。

描述可包含在狀態物件中之現有集合的狀態子物件。

## 語法

```cpp theme={null}
typedef struct D3D12_EXISTING_COLLECTION_DESC
{
    ID3D12StateObject  pExistingCollection;
    UINT NumExports;
    D3D12_EXPORT_DESC  pExports;
} D3D12_EXISTING_COLLECTION_DESC
```

### 成員

*pExistingCollection*\
類型：ID3D12StateObject \*

要包含在狀態物件中的集合。包含它的狀態物件會保留對現有集合的參考。

*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_DXIL_LIBRARY_DESC (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/structs/d3d12_dxil_library_desc_public.md)
- [D3D12_HIT_GROUP_DESC (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/structs/d3d12_hit_group_desc_public.md)
