Enum
VkShaderGroupShaderKHR
Shader group shaders
Possible values of groupShader
in
vkGetRayTracingShaderGroupStackSizeKHR are:
typedef enum VkShaderGroupShaderKHR {
VK_SHADER_GROUP_SHADER_GENERAL_KHR = 0,
VK_SHADER_GROUP_SHADER_CLOSEST_HIT_KHR = 1,
VK_SHADER_GROUP_SHADER_ANY_HIT_KHR = 2,
VK_SHADER_GROUP_SHADER_INTERSECTION_KHR = 3,
} VkShaderGroupShaderKHR;
VK_SHADER_GROUP_SHADER_GENERAL_KHR
uses the shader specified in the group with VkRayTracingShaderGroupCreateInfoKHR::generalShader
VK_SHADER_GROUP_SHADER_CLOSEST_HIT_KHR
uses the shader specified in the group with VkRayTracingShaderGroupCreateInfoKHR::closestHitShader
VK_SHADER_GROUP_SHADER_ANY_HIT_KHR
uses the shader specified in the group with VkRayTracingShaderGroupCreateInfoKHR::anyHitShader
VK_SHADER_GROUP_SHADER_INTERSECTION_KHR
uses the shader specified in the group with VkRayTracingShaderGroupCreateInfoKHR::intersectionShader