C Specification
To destroy a decode session object, call:
// Provided by VK_KHR_video_queue
void vkDestroyVideoSessionKHR(
VkDevice device,
VkVideoSessionKHR videoSession,
const VkAllocationCallbacks* pAllocator);
Parameters
-
device
is the device that was used for the creation of the video session. -
videoSession
is the decode or encode video session to be destroyed. -
pAllocator
controls host memory allocation as described in the Memory Allocation chapter.
Document Notes
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.