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

> Describes a DXIL library state subobject that can be included in a state object.

Describes a DXIL library state subobject that can be included in a state object.

## Syntax

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

### Members

*DXILLibrary*\
Type: D3D12\_SHADER\_BYTECODE

The library to include in the state object.  Must have been compiled with library target 6.3 or higher.  It is fine to specify the same library multiple times either in the same state object / collection or across multiple, as long as the names exported each time don't conflict in a given state object.

*NumExports*\
Type: UINT

The size of <i>pExports</i> array.  If 0, everything gets exported from the library.

#### 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_DISPATCH_RAYS_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_dispatch_rays_desc_public.md)
- [D3D12_RAYTRACING_GEOMETRY_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_desc_public.md)
- [D3D12_RAYTRACING_INSTANCE_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_raytracing_instance_desc_public.md)
- [D3D12_HIT_GROUP_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_hit_group_desc_public.md)
