> ## 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 consoles)

> A state subobject describing an existing collection that can be included in a state object.

A state subobject describing an existing collection that can be included in a state object.

## Syntax

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

### Members

*pExistingCollection*\
Type: ID3D12StateObject \*

The collection to include in a state object.   The enclosing state object holds a reference to the existing collection.

*NumExports*\
Type: UINT

Size of the <i>pExports</i> array.  If 0, all of the collection's exports get exported.

#### pExports

Optional exports array.  For more information, see [D3D12\_EXPORT\_DESC](/reference/graphics/d3d12/structs/d3d12_export_desc_public).

*pExports*\
Type: D3D12\_EXPORT\_DESC \*

## Requirements

**Header:** d3d12\_xs.h\
**Library:** d3d12\_xs.lib\
**Supported Platforms**: XBOX Series consoles


## Related topics

- [D3D12_EXPORT_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_export_desc_public.md)
- [D3D12_DXIL_LIBRARY_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_dxil_library_desc_public.md)
- [D3D12_RAYTRACING_INSTANCE_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_raytracing_instance_desc_public.md)
- [D3D12_RAYTRACING_GEOMETRY_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_desc_public.md)
- [D3D12_DISPATCH_RAYS_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_dispatch_rays_desc_public.md)
