Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
|
Enum conversion methods. More...
#include <foray_rtshadertypes.hpp>
Static Public Member Functions | |
static VkShaderStageFlagBits | ToStage (RtShaderType shaderType) |
Convert shaderType to VkShaderStageFlagBits stage. RtShaderType::Undefined causes Exception! | |
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 RtShaderGroupType::Undefined. | |
static RtShaderType | ToType (VkShaderStageFlagBits stage) |
Get shaderType for VkShaderStageFlagBits stage. Non raytracing shaderstages map to RtShaderType::Undefined. | |
Enum conversion methods.
|
static |
Get correct group type for shaderType. RtShaderType::Undefined maps to RtShaderGroupType::Undefined.
|
static |
Get correct group type for VkShaderStageFlagBits stage. Non raytracing shaderstages map to RtShaderGroupType::Undefined.
|
static |
Convert shaderType to VkShaderStageFlagBits stage. RtShaderType::Undefined causes Exception!
|
static |
Get shaderType for VkShaderStageFlagBits stage. Non raytracing shaderstages map to RtShaderType::Undefined.