#include <Swapchain.hpp>
|
| | Swapchain (VkSwapchainKHR swapchain, const Device *device, const VkSurfaceFormatKHR &swapchainFormat, const VkExtent2D &extent) |
| |
| bool | init () |
| |
Definition at line 23 of file Swapchain.hpp.
◆ Swapchain() [1/4]
| lug::Graphics::Vulkan::API::Swapchain::Swapchain |
( |
| ) |
|
|
default |
◆ Swapchain() [2/4]
| lug::Graphics::Vulkan::API::Swapchain::Swapchain |
( |
const Swapchain & |
| ) |
|
|
delete |
◆ Swapchain() [3/4]
| lug::Graphics::Vulkan::API::Swapchain::Swapchain |
( |
Swapchain && |
Swapchain | ) |
|
◆ ~Swapchain()
| lug::Graphics::Vulkan::API::Swapchain::~Swapchain |
( |
| ) |
|
◆ Swapchain() [4/4]
| lug::Graphics::Vulkan::API::Swapchain::Swapchain |
( |
VkSwapchainKHR |
swapchain, |
|
|
const Device * |
device, |
|
|
const VkSurfaceFormatKHR & |
swapchainFormat, |
|
|
const VkExtent2D & |
extent |
|
) |
| |
|
explicitprivate |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator VkSwapchainKHR()
| lug::Graphics::Vulkan::API::Swapchain::operator VkSwapchainKHR |
( |
| ) |
const |
|
inlineexplicit |
◆ destroy()
| void lug::Graphics::Vulkan::API::Swapchain::destroy |
( |
| ) |
|
◆ getNextImage()
| bool lug::Graphics::Vulkan::API::Swapchain::getNextImage |
( |
uint32_t * |
imageIndex, |
|
|
VkSemaphore |
semaphore = VK_NULL_HANDLE |
|
) |
| |
◆ present()
| bool lug::Graphics::Vulkan::API::Swapchain::present |
( |
const Queue * |
presentQueue, |
|
|
uint32_t |
imageIndex, |
|
|
VkSemaphore |
semaphore = VK_NULL_HANDLE |
|
) |
| const |
◆ getImages()
| const std::vector< Image > & Swapchain::getImages |
( |
| ) |
const |
|
inline |
◆ getImagesViews()
| const std::vector< ImageView > & Swapchain::getImagesViews |
( |
| ) |
const |
|
inline |
◆ getFormat()
| const VkSurfaceFormatKHR & Swapchain::getFormat |
( |
| ) |
const |
|
inline |
◆ getExtent()
| const VkExtent2D & Swapchain::getExtent |
( |
| ) |
const |
|
inline |
◆ setOutOfDate()
| void Swapchain::setOutOfDate |
( |
bool |
outOfDate | ) |
|
|
inline |
◆ isOutOfDate()
| bool Swapchain::isOutOfDate |
( |
| ) |
const |
|
inline |
◆ init()
| bool lug::Graphics::Vulkan::API::Swapchain::init |
( |
| ) |
|
|
private |
◆ Builder::Swapchain
◆ _swapchain
| VkSwapchainKHR lug::Graphics::Vulkan::API::Swapchain::_swapchain {VK_NULL_HANDLE} |
|
private |
◆ _device
| const Device* lug::Graphics::Vulkan::API::Swapchain::_device {nullptr} |
|
private |
◆ _images
| std::vector<Image> lug::Graphics::Vulkan::API::Swapchain::_images |
|
private |
◆ _imagesViews
| std::vector<ImageView> lug::Graphics::Vulkan::API::Swapchain::_imagesViews |
|
private |
◆ _format
| VkSurfaceFormatKHR lug::Graphics::Vulkan::API::Swapchain::_format |
|
private |
◆ _extent
| VkExtent2D lug::Graphics::Vulkan::API::Swapchain::_extent |
|
private |
◆ _outOfDate
| bool lug::Graphics::Vulkan::API::Swapchain::_outOfDate {false} |
|
private |
The documentation for this class was generated from the following files: