> ## 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_EXPORT_DESC (XBOX Series consoles)

> Describes an export from a state subobject such as a DXIL library or a collection state object.

Describes an export from a state subobject such as a DXIL library or a collection state object.

## Syntax

```cpp theme={null}
typedef struct D3D12_EXPORT_DESC
{
    LPCWSTR Name;
    LPCWSTR ExportToRename;
    D3D12_EXPORT_FLAGS Flags;
} D3D12_EXPORT_DESC
```

### Members

*Name*\
Type: LPCWSTR

The name to be exported.  If the name refers to a function that is overloaded, a modified version of the name (e.g. encoding function parameter information  in name string) can be provided to disambiguate which overload to use.  The modified name for a function can be retrieved using HLSL compiler reflection.

If the <i>ExportToRename</i> field is non-null, <i>Name</i> refers to the new name to use for it when exported.  In this case <i>Name</i> must be the unmodified name, whereas <i>ExportToRename</i> can be either a modified or unmodified name.  A given internal name may be exported multiple times with different renames (and/or not renamed).

*ExportToRename*\
Type: LPCWSTR

If non-null, this is the name of an export to use but then rename when exported.

#### Flags

The flags to apply to the export.

*Flags*\
Type: D3D12\_EXPORT\_FLAGS

## Requirements

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


## Related topics

- [D3D12_DXIL_LIBRARY_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_dxil_library_desc_public.md)
- [D3D12_EXISTING_COLLECTION_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_existing_collection_desc_public.md)
- [D3D12_HIT_GROUP_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_hit_group_desc_public.md)
- [D3D12_EXPORT_FLAGS (XBOX Series consoles)](/reference/graphics/d3d12/enums/d3d12_export_flags_public.md)
- [D3D12_RAYTRACING_GEOMETRY_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_desc_public.md)
