MCPcopy Create free account
hub / github.com/defold/defold / DestroyLogicalDevice

Function DestroyLogicalDevice

engine/graphics/src/vulkan/graphics_vulkan_device.cpp:1581–1587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1579 }
1580
1581 void DestroyLogicalDevice(LogicalDevice* device)
1582 {
1583 vkDestroyCommandPool(device->m_Device, device->m_CommandPool, 0);
1584 vkDestroyCommandPool(device->m_Device, device->m_CommandPoolWorker, 0);
1585 vkDestroyDevice(device->m_Device, 0);
1586 memset(device, 0, sizeof(*device));
1587 }
1588
1589 void DestroyPipeline(VkDevice vk_device, Pipeline* pipeline)
1590 {

Callers 2

VulkanIsSupportedFunction · 0.85
VulkanDestroyResourcesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected