1#ifndef VULKAN_SWAPCHAINCAPABILITIES
2#define VULKAN_SWAPCHAINCAPABILITIES
4#include <vulkan/vulkan.h>
8namespace Vulkan {
class PhysicalDevice;
class Window;
class WindowSurface;
namespace SwapchainOptions{
class Capabilities; } }
33 const VkSurfaceCapabilitiesKHR&
operator+()
const;
45 VkSurfaceCapabilitiesKHR capabilities;
Represents the GPU (or any other device) that will be used with Vulkan to perform computer graphics.
Definition: PhysicalDevice.h:17
The capabilities of a swapchain define some important properties of the images in the swapchain,...
Definition: SwapchainCapabilities.h:13
VkExtent2D chooseSwapExtent(const Window &window) const
Chooses the best swap extent (basically the resolution of the images to be shown) based on the window...
Definition: SwapchainCapabilities.cpp:17
const VkSurfaceCapabilitiesKHR & operator+() const
Returns the underlying VkSurfaceCapabilitiesKHR.
Definition: SwapchainCapabilities.cpp:12
Manages the creation and lifetime of an OS window.
Definition: Window.h:15
A window surface is the connection between Vulkan and the OS windows environment.
Definition: WindowSurface.h:13
Types of queue families.
Definition: Animations.h:17