Function TRAP::Graphics::API::DescriptorTypeToVkImageUsage#
Function Documentation#
-
constexpr VkImageUsageFlags TRAP::Graphics::API::DescriptorTypeToVkImageUsage(RendererAPI::DescriptorType type) noexcept#
Convert the RendererAPI::DescriptorType to VkImageUsageFlags.
- Parameters:
type – DescriptorType to convert.
- Returns:
Converted VkImageUsageFlags.