Function inexor::vulkan_renderer::wrapper::swapchains::choose_image_extent¶
Defined in File swapchain_utils.hpp
Function Documentation¶
-
VkExtent2D inexor::vulkan_renderer::wrapper::swapchains::choose_image_extent(const VkExtent2D &requested_extent, const VkSurfaceCapabilitiesKHR &caps, const VkExtent2D ¤t_extent)¶
Select a swapchain image extent.
- Parameters:
requested_extent – The requested image extent.
caps – The capabilities of the used surface.
current_extent – The current image extent.
- Returns:
The chosen image extent.