Object which holds images to be presented to the WindowSurface.
More...
#include <Swapchain.h>
Object which holds images to be presented to the WindowSurface.
◆ Swapchain() [1/4]
the best swapchain possible to fit with the current GPU and window.
- Parameters
-
realGpu | The physical GPU. |
virtualGpu | The logical GPU. |
windowSurface | The surface where images will be drawn. |
window | The OS window where the Vulkan application is running. |
◆ Swapchain() [2/4]
◆ ~Swapchain()
Vulkan::Swapchain::~Swapchain |
( |
| ) |
|
◆ Swapchain() [3/4]
Vulkan::Swapchain::Swapchain |
( |
const Swapchain & |
| ) |
|
|
delete |
◆ Swapchain() [4/4]
Vulkan::Swapchain::Swapchain |
( |
Swapchain && |
| ) |
|
|
noexcept |
◆ getImageFormat()
◆ getImages()
const std::vector< Vulkan::Image > & Vulkan::Swapchain::getImages |
( |
| ) |
const |
Returns the images of this swapchain.
- Returns
- The images of this swapchain.
◆ getResolution()
std::pair< unsigned int, unsigned int > Vulkan::Swapchain::getResolution |
( |
| ) |
const |
Returns the width and height of the images in this swapchain.
- Returns
- The width and height of the images in this swapchain.
◆ getSwapchainCapabilities()
◆ isSwapchainSupported()
Checks whether there exist a swapchain for this physiscal GPU and windows surface.
- Parameters
-
realGpu | The physiscal GPU. |
windowSurface | The window surface. |
- Returns
- Whether the swapchain is supported.
◆ operator+()
const VkSwapchainKHR & Vulkan::Swapchain::operator+ |
( |
| ) |
const |
Returns the underlying VkSwapchainKHR object.
- Returns
- The underlying VkSwapchainKHR object.
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following files: