79 unsigned int imageCount = 0,
80 VkPresentModeKHR imageQueuingMode = VK_PRESENT_MODE_MAILBOX_KHR,
87 VkSwapchainKHR
handle()
const;
Represents logical rendering device.
Definition: vppDevice.hpp:49
Untyped image view class. Useful for constructing FrameBuffer objects.
Definition: vppFrameImageView.hpp:46
const Surface & surface() const
Retrieves the surface.
bool valid() const
Checks whether this SwapChain object refers to a valid swapchain.
Represents a set of swappable on-screen images.
Definition: vppSwapChain.hpp:44
const Device & device() const
Retrieves the device.
The VPP namespace.
Definition: main.hpp:1
SwapChain()
Constructs null reference.
Represents a surface visible on the screen.
Definition: vppSurface.hpp:59
unsigned int acquireDisplayImage(const Queue &hQueue)
Acquires and locks an image view for rendering.
VkSwapchainKHR handle() const
Retrieves the Vulkan handle.
void presentDisplayImage(const Queue &hQueue, unsigned int iImage)
Schedules an image view for display.
FrameImageView view(size_t index) const
Retrieves the image view for given index.
Command queue for execution of commands.
Definition: vppQueue.hpp:65
size_t views() const
Retrieves the number of images in the swapchain.