Function TRAP::Graphics::API::ImageFormatFromVkFormat#

Function Documentation#

constexpr TRAP::Graphics::API::ImageFormat TRAP::Graphics::API::ImageFormatFromVkFormat(VkFormat format) noexcept#

Convert the VkFormat to ImageFormat.

Parameters:

format – VkFormat to convert.

Returns:

Converted ImageFormat.