MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / Destroy

Method Destroy

tests/framework/binding.cpp:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60void Instance::Init(const VkInstanceCreateInfo& info) { ASSERT_EQ(VK_SUCCESS, vk::CreateInstance(&info, NULL, &handle_)); }
61
62void Instance::Destroy() noexcept {
63 if (handle_ != VK_NULL_HANDLE) {
64 vk::DestroyInstance(handle_, nullptr);
65 handle_ = VK_NULL_HANDLE;
66 }
67}
68
69VkPhysicalDeviceProperties PhysicalDevice::Properties() const {
70 VkPhysicalDeviceProperties info;

Callers 1

binding.cppFile · 0.45

Calls 12

FreeMemoryFunction · 0.85
FreeDescriptorSetsFunction · 0.85
FreeCommandBuffersFunction · 0.85
GetDynamicUsageMethod · 0.80
DestroyInstanceFunction · 0.50
DestroyDeviceFunction · 0.50
GetDeviceProcAddrFunction · 0.50
handleMethod · 0.45

Tested by

no test coverage detected