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