Function TRAP::Graphics::API::VulkanGetRecommendedSwapchainFormat#
Function Documentation#
-
constexpr TRAP::Graphics::API::ImageFormat TRAP::Graphics::API::VulkanGetRecommendedSwapchainFormat(bool HDR, bool SRGB) noexcept#
Retrieve the recommended swapchain format for Vulkan.
- Parameters:
HDR – True if HDR is desired.
SRGB – True if SRGB is desired.
- Returns:
Recommended swapchain format.