mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-30 02:14:35 +00:00
Document constructors for SwapchainBuilder
Specifically done for the 3rd constructor which will query the necessary queues when they are not provided
This commit is contained in:
parent
617ccfb53a
commit
d1d0382c24
@ -614,8 +614,13 @@ void destroy_swapchain(Swapchain const& swapchain);
|
||||
|
||||
class SwapchainBuilder {
|
||||
public:
|
||||
// Construct a SwapchainBuilder with a `vkb::Device`
|
||||
explicit SwapchainBuilder(Device const& device);
|
||||
explicit SwapchainBuilder(Device const& device, VkSurfaceKHR const surface);
|
||||
// Construct a SwapchainBuilder with a specific VkSurfaceKHR handle and `vkb::Device`
|
||||
explicit SwapchainBuilder(Device const& device, VkSurfaceKHR const surface);
|
||||
// Construct a SwapchainBuilder with Vulkan handles for the physical device, device, and surface
|
||||
// Optionally can provide the uint32_t indices for the graphics and present queue
|
||||
// Note: The constructor will query the graphics & present queue if the indices are not provided
|
||||
explicit SwapchainBuilder(VkPhysicalDevice const physical_device,
|
||||
VkDevice const device,
|
||||
VkSurfaceKHR const surface,
|
||||
|
Loading…
Reference in New Issue
Block a user