To destroy a decode session object, call:
// Provided by VK_KHR_video_queue void vkDestroyVideoSessionKHR( VkDevice device, VkVideoSessionKHR videoSession, const VkAllocationCallbacks* pAllocator);
deviceis the device that was used for the creation of the video session.
videoSessionis the decode or encode video session to be destroyed.
pAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.