2#include "../foray_basics.hpp"
3#include "../foray_vulkan.hpp"
Enum conversion methods.
Definition foray_rtshadertypes.hpp:32
static VkShaderStageFlagBits ToStage(RtShaderType shaderType)
Convert shaderType to VkShaderStageFlagBits stage. RtShaderType::Undefined causes Exception!
static RtShaderType ToType(VkShaderStageFlagBits stage)
Get shaderType for VkShaderStageFlagBits stage. Non raytracing shaderstages map to RtShaderType::Unde...
static RtShaderGroupType ToGroupType(RtShaderType shaderType)
Get correct group type for shaderType. RtShaderType::Undefined maps to RtShaderGroupType::Undefined.
static RtShaderGroupType ToGroupType(VkShaderStageFlagBits stage)
Get correct group type for VkShaderStageFlagBits stage. Non raytracing shaderstages map to RtShaderGr...
Definition foray_basesbt.hpp:9
RtShaderType
Shader types used in Raytracing.
Definition foray_rtshadertypes.hpp:9
RtShaderGroupType
ShaderGroup Types.
Definition foray_rtshadertypes.hpp:21
@ Hit
Hit group contains ClosestHit, AnyHit and Intersect Shader Types.
int32_t GroupIndex
Type used for indexing ShaderGroups in SBTs.
Definition foray_rtshadertypes.hpp:45