To destroy a optical flow session object, call:
// Provided by VK_NV_optical_flow void vkDestroyOpticalFlowSessionNV( VkDevice device, VkOpticalFlowSessionNV session, const VkAllocationCallbacks* pAllocator);
deviceis the device that was used for the creation of the optical flow session.
sessionis the optical flow 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.