vkDestroyPipeline
vkDestroyPipeline is a Vulkan API function used to release the resources associated with a graphics or compute pipeline object. When a pipeline is no longer needed, calling vkDestroyPipeline allows the Vulkan implementation to free the associated memory and other system resources, preventing potential memory leaks.
The function takes two arguments: a VkDevice representing the logical device on which the pipeline was created,
Typically, pipelines are created using vkCreateGraphicsPipelines or vkCreateComputePipelines. After the application has finished rendering or computing