Function TRAP::Graphics::API::ShaderStageToVkShaderStageFlags#
Function Documentation#
-
constexpr VkShaderStageFlags TRAP::Graphics::API::ShaderStageToVkShaderStageFlags(RendererAPI::ShaderStage stages) noexcept#
Convert the RendererAPI::ShaderStage to VkShaderStageFlags.
Note
This returns all found VkShaderStageFlagBits in stages as a single VkShaderStageFlags value.
- Parameters:
stages – ShaderStage(s) to convert.
- Returns:
Converted VkShaderStageFlags.