This describes the hit group binding mode used by the top level acceleration structure.
More...
#include <TopLevelAS.h>
This describes the hit group binding mode used by the top level acceleration structure.
◆ Enum
Enumerator |
---|
PerGeometry | Each geometry in every instance may use a unique hit shader group. In this mode, space is reserved for each geometry in every instance in the top level acceleration structure and uses the most memory.
|
PerInstance | Each instance may use a unique hit shader group. In this mode, one slot is reserved for each instance irrespective of how many geometries it contains, so it uses less memory.
|
PerTopLevelAccelerationStructure | All instances in each top level acceleration structure will use the same hit group. In this mode, a single slot is reserved for one hit group for each top level acceleration structure.
|
UserDefined | The user must specify the contribution to the hit group index, and only bind hit groups by index.
|
The documentation for this struct was generated from the following file:
- /home/runner/work/XII/XII/Source/Engine/GraphicsFoundation/Resources/TopLevelAS.h