wisdom
Loading...
Searching...
No Matches
wis::HitGroupDesc Struct Reference

Detailed Description

Hit group description for Raytracing pipeline.

struct HitGroupDesc {
uint32_t closest_hit_export_index = UINT32_MAX;
uint32_t any_hit_export_index = UINT32_MAX;
uint32_t intersection_export_index = UINT32_MAX;
};
HitGroupType
Type of the hit group in the raytracing pipeline.
Definition api.hpp:271
Hit group description for Raytracing pipeline.
Definition api.hpp:2181

Definition at line 2181 of file api.hpp.

#include <api.hpp>

Public Attributes

wis::HitGroupType type
 Type of the hit group. wis::HitGroupType::Triangles - hit group for triangles. Uses closest hit shader and optionally any hit shader for transparency. wis::HitGroupType::Procedural - hit group for procedural geometry. Uses intersection shader and optionally any hit shader for transparency.
 
uint32_t closest_hit_export_index = UINT32_MAX
 Closest hit shader from wis::ShaderExport.
 
uint32_t any_hit_export_index = UINT32_MAX
 Any hit shader.
 
uint32_t intersection_export_index = UINT32_MAX
 Intersection shader.
 

Data Members

◆ any_hit_export_index

uint32_t wis::HitGroupDesc::any_hit_export_index = UINT32_MAX

Any hit shader.

Definition at line 2189 of file api.hpp.

◆ closest_hit_export_index

uint32_t wis::HitGroupDesc::closest_hit_export_index = UINT32_MAX

Closest hit shader from wis::ShaderExport.

Definition at line 2188 of file api.hpp.

◆ intersection_export_index

uint32_t wis::HitGroupDesc::intersection_export_index = UINT32_MAX

Intersection shader.

Definition at line 2190 of file api.hpp.

◆ type

wis::HitGroupType wis::HitGroupDesc::type

Type of the hit group. wis::HitGroupType::Triangles - hit group for triangles. Uses closest hit shader and optionally any hit shader for transparency. wis::HitGroupType::Procedural - hit group for procedural geometry. Uses intersection shader and optionally any hit shader for transparency.

Definition at line 2187 of file api.hpp.


The documentation for this struct was generated from the following file: