Skip to main content
Describes a DXIL library state subobject that can be included in a state object.

Syntax

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 pExports array. If 0, everything gets exported from the library.

pExports

Optional exports array. For more information, see D3D12_EXPORT_DESC. pExports
Type: D3D12_EXPORT_DESC *

Requirements

Header: d3d12_xs.h
Library: d3d12_xs.lib
Supported Platforms: XBOX Series consoles
Last modified on August 20, 2026