Function TRAP::Graphics::GetRecommendedSwapchainFormat#

Function Documentation#

TRAP::Graphics::API::ImageFormat TRAP::Graphics::GetRecommendedSwapchainFormat(bool HDR, bool SRGB) noexcept#

Retrieve the recommended swap chain image format.

Parameters:
  • HDR – Use HDR?

  • SRGB – Use SRGB?

Returns:

Recommended swap chain image format.