Function inexor::vulkan_renderer::wrapper::swapchains::choose_composite_alpha

Function Documentation

VkCompositeAlphaFlagBitsKHR inexor::vulkan_renderer::wrapper::swapchains::choose_composite_alpha(VkCompositeAlphaFlagsKHR available_composite_alpha, VkCompositeAlphaFlagsKHR request_composite_alpha = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR)

Select a composite alpha for the swapchain.

Parameters:
  • supported_composite_alpha – The supported composite alpha flags.

  • request_composite_alpha – The requested composite alpha (VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR by default).

Returns:

The selected composite alpha.