A swapchain that adapts to the underlying surface going out of date. If the caller cannot acquire the next drawable, it is due to an unrecoverable error and the swapchain must be recreated with a new surface.
More...
#include <swapchain_vk.h>
A swapchain that adapts to the underlying surface going out of date. If the caller cannot acquire the next drawable, it is due to an unrecoverable error and the swapchain must be recreated with a new surface.
Definition at line 23 of file swapchain_vk.h.
◆ ~SwapchainVK()
impeller::SwapchainVK::~SwapchainVK |
( |
| ) |
|
|
virtualdefault |
◆ SwapchainVK() [1/2]
impeller::SwapchainVK::SwapchainVK |
( |
const SwapchainVK & |
| ) |
|
|
delete |
◆ SwapchainVK() [2/2]
impeller::SwapchainVK::SwapchainVK |
( |
| ) |
|
|
protecteddefault |
◆ AcquireNextDrawable()
virtual std::unique_ptr< Surface > impeller::SwapchainVK::AcquireNextDrawable |
( |
| ) |
|
|
pure virtual |
◆ Create()
std::shared_ptr< SwapchainVK > impeller::SwapchainVK::Create |
( |
const std::shared_ptr< Context > & |
context, |
|
|
vk::UniqueSurfaceKHR |
surface, |
|
|
const ISize & |
size, |
|
|
bool |
enable_msaa = true |
|
) |
| |
|
static |
Definition at line 11 of file swapchain_vk.cc.
15 {
16 return std::shared_ptr<KHRSwapchainVK>(
17 new KHRSwapchainVK(context, std::move(
surface), size, enable_msaa));
18}
◆ GetSurfaceFormat()
virtual vk::Format impeller::SwapchainVK::GetSurfaceFormat |
( |
| ) |
const |
|
pure virtual |
◆ IsValid()
virtual bool impeller::SwapchainVK::IsValid |
( |
| ) |
const |
|
pure virtual |
◆ operator=()
◆ UpdateSurfaceSize()
virtual void impeller::SwapchainVK::UpdateSurfaceSize |
( |
const ISize & |
size | ) |
|
|
pure virtual |
Mark the current swapchain configuration as dirty, forcing it to be recreated on the next frame.
Implemented in impeller::KHRSwapchainVK.
The documentation for this class was generated from the following files: