|
wisdom
|
Hit group description for Raytracing pipeline.
#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. | |
| uint32_t wis::HitGroupDesc::any_hit_export_index = UINT32_MAX |
| uint32_t wis::HitGroupDesc::closest_hit_export_index = UINT32_MAX |
Closest hit shader from wis::ShaderExport.
| uint32_t wis::HitGroupDesc::intersection_export_index = UINT32_MAX |
| 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.