MCPcopy Create free account
hub / github.com/PacktPublishing/3D-Graphics-Rendering-Cookbook / destroyVulkanImage

Function destroyVulkanImage

shared/UtilsVulkan.cpp:2050–2055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2048}
2049
2050void destroyVulkanImage(VkDevice device, VulkanImage& image)
2051{
2052 vkDestroyImageView(device, image.imageView, nullptr);
2053 vkDestroyImage(device, image.image, nullptr);
2054 vkFreeMemory(device, image.imageMemory, nullptr);
2055}
2056
2057uint32_t bytesPerTexFormat(VkFormat fmt)
2058{

Callers 10

mainFunction · 0.85
mainFunction · 0.85
terminateVulkanFunction · 0.85
destroyVulkanTextureFunction · 0.85
~VulkanResourcesMethod · 0.85
~ModelRendererMethod · 0.85
~VulkanQuadRendererMethod · 0.85
~ImGuiRendererMethod · 0.85
~MultiMeshRendererMethod · 0.85
~CubeRendererMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected