Skip to main content
Associates a subobject defined directly in a state object with shader exports.

Syntax

Members

pSubobjectToAssociate
Type: const D3D12_STATE_SUBOBJECT *
Pointer to the subobject in current state object to define an association to. NumExports
Type: UINT
Size of the pExports array. If 0, this is being explicitly defined as a default association. Another way to define a default association is to omit this subobject association for that subobject completely. pExports
Type: LPCWSTR *
The array of exports with which the subobject is associated.

Remarks

Depending on the flags specified in the optional D3D12_STATE_OBJECT_CONFIG subobject for opting into cross linkage, the exports being associated don’t necessarily have to be present in the current state object, or one that has been seen yet, to be resolved later, on raytracing pipeline state object (RTPSO) creation for example.

Requirements

Header: d3d12_xs.h or d3d12_x.h
Library: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family
Last modified on August 20, 2026