Function TRAP::Graphics::API::ShaderStageToVkShaderStageFlagBits#

Function Documentation#

constexpr VkShaderStageFlagBits TRAP::Graphics::API::ShaderStageToVkShaderStageFlagBits(RendererAPI::ShaderStage stage) noexcept#

Convert the RendererAPI::ShaderStage to VkShaderStageFlagBits.

Note

This returns the first found VkShaderStageFlagBits.

Parameters:

stages – ShaderStage(s) to convert.

Returns:

Converted VkShaderStageFlagBits.