To attach memory to a video session object, call:
// Provided by VK_KHR_video_queue VkResult vkBindVideoSessionMemoryKHR( VkDevice device, VkVideoSessionKHR videoSession, uint32_t videoSessionBindMemoryCount, const VkVideoBindMemoryKHR* pVideoSessionBindMemories);
deviceis the logical device that owns the video session’s memory.
videoSessionis the video session to be bound with device memory.
videoSessionBindMemoryCountis the number of pVideoSessionBindMemories to be bound.
pVideoSessionBindMemoriesis a pointer to the device memory heap entries of type VkVideoBindMemoryKHR which are to be bound to the video session.
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.