> ## 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](/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-CN/reference/graphics/d3d12/structs/d3d12_export_desc_public.md)
- [D3D12_DISPATCH_RAYS_DESC (XBOX Series 主机)](/zh-CN/reference/graphics/d3d12/structs/d3d12_dispatch_rays_desc_public.md)
- [D3D12_DXIL_LIBRARY_DESC (XBOX Series 主机)](/zh-CN/reference/graphics/d3d12/structs/d3d12_dxil_library_desc_public.md)
- [D3D12_RAYTRACING_GEOMETRY_FLAGS (XBOX Series 主机)](/zh-CN/reference/graphics/d3d12/enums/d3d12_raytracing_geometry_flags_public.md)
- [D3D12_HIT_GROUP_TYPE (XBOX Series 主机)](/zh-CN/reference/graphics/d3d12/enums/d3d12_hit_group_type_public.md)
