Skip to main content
Describes a raytracing hit group state subobject that can be included in a state object.

Syntax

Members

HitGroupExport
Type: LPCWSTR
The name of the hit group. Type
Type: D3D12_HIT_GROUP_TYPE
A value from the D3D12_HIT_GROUP_TYPE enumeration specifying the type of the hit group. AnyHitShaderImport
Type: LPCWSTR
Optional name of the any-hit shader associated with the hit group. This field can be used with all hit group types. ClosestHitShaderImport
Type: LPCWSTR
Optional name of the closest-hit shader associated with the hit group. This field can be used with all hit group types. IntersectionShaderImport
Type: LPCWSTR
Optional name of the intersection shader associated with the hit group. This field can only be used with hit groups of type procedural primitive.

Requirements

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