C Specification
To attach memory to a video session object, call:
// Provided by VK_KHR_video_queue
VkResult vkBindVideoSessionMemoryKHR(
VkDevice device,
VkVideoSessionKHR videoSession,
uint32_t bindSessionMemoryInfoCount,
const VkBindVideoSessionMemoryInfoKHR* pBindSessionMemoryInfos);
Parameters
-
deviceis the logical device that owns the video session. -
videoSessionis the video session to be bound with device memory. -
bindSessionMemoryInfoCountis the number of elements inpBindSessionMemoryInfos. -
pBindSessionMemoryInfosis a pointer to an array ofbindSessionMemoryInfoCountVkBindVideoSessionMemoryInfoKHR structures specifying memory regions to be bound to specific memory bindings of the video session.
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.