MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / ~Swapchain

Method ~Swapchain

framework/core/swapchain.cpp:514–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

512}
513
514Swapchain::~Swapchain()
515{
516 if (handle != VK_NULL_HANDLE)
517 {
518 vkDestroySwapchainKHR(device.get_handle(), handle, nullptr);
519 }
520}
521
522Swapchain::Swapchain(Swapchain &&other) :
523 device{other.device},

Callers

nothing calls this directly

Calls 1

get_handleMethod · 0.45

Tested by

no test coverage detected