D3D12DDI_HIT_GROUP_TYPE Enumeration

Specifies the type of hit group.

Syntax

typedef enum D3D12DDI_HIT_GROUP_TYPE {
  D3D12DDI_HIT_GROUP_TYPE_TRIANGLES,
  D3D12DDI_HIT_GROUP_TYPE_PROCEDURAL_PRIMITIVE
} ;

Constants

D3D12DDI_HIT_GROUP_TYPE_TRIANGLES Hit group type triangles.
D3D12DDI_HIT_GROUP_TYPE_PROCEDURAL_PRIMITIVE Hit group type procedural primitive.

Remarks

A hit group is one or more shaders consisting of:

  • 0 or 1 intersection shader
  • 0 or 1 any hit shader
  • 0 or 1 closest hit shader

Requirements

   
Minimum supported client Windows 10, version 1809
Header d3d12umddi.h