Struct HitGroupDescription
Describes a ray tracing hit group state subobject that can be included in a state object.
Namespace: Evergine.Common.Graphics.Raytracing
Assembly: Evergine.Common.dll
Syntax
public struct HitGroupDescription
Fields
AnyHitEntryPoint
Optional name of the any-hit shader associated with the hit group. This field can be used with any hit group type.
Declaration
public string AnyHitEntryPoint
Field Value
| Type | Description |
|---|---|
| string |
ClosestHitEntryPoint
Optional name of the closest-hit shader associated with the hit group. This field can be used with any hit group type.
Declaration
public string ClosestHitEntryPoint
Field Value
| Type | Description |
|---|---|
| string |
GeneralEntryPoint
Optional name of the general shader associated with the hit group. This field can be used with all types of hit groups.
Declaration
public string GeneralEntryPoint
Field Value
| Type | Description |
|---|---|
| string |
IntersectionEntryPoint
Optional name of the intersection shader associated with the hit group. This field can only be used with hit groups of the procedural primitive type.
Declaration
public string IntersectionEntryPoint
Field Value
| Type | Description |
|---|---|
| string |
Name
The name of the hit group.
Declaration
public string Name
Field Value
| Type | Description |
|---|---|
| string |
Type
A value from the HitGroupDescription.HitGroupType enumeration specifying the type of hit group.
Declaration
public HitGroupDescription.HitGroupType Type
Field Value
| Type | Description |
|---|---|
| HitGroupDescription.HitGroupType |