MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / DestroyImage

Function DestroyImage

icd/generated/function_definitions.h:525–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523 return VK_SUCCESS;
524}
525static VKAPI_ATTR void VKAPI_CALL DestroyImage(VkDevice device, VkImage image, const VkAllocationCallbacks* pAllocator) {
526 unique_lock_t lock(global_lock);
527 image_memory_size_map[device].erase(image);
528}
529static VKAPI_ATTR void VKAPI_CALL GetImageSubresourceLayout(VkDevice device, VkImage image, const VkImageSubresource* pSubresource,
530 VkSubresourceLayout* pLayout) {
531 // Need safe values. Callers are computing memory offsets from pLayout, with no return code to flag failure.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected