C Specification

The VkOpticalFlowImageFormatInfoNV structure is defined as:

// Provided by VK_NV_optical_flow
typedef struct VkOpticalFlowImageFormatInfoNV {
    VkStructureType              sType;
    const void*                  pNext;
    VkOpticalFlowUsageFlagsNV    usage;
} VkOpticalFlowImageFormatInfoNV;


  • sType is a VkStructureType value identifying this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • usage is a bitmask of VkOpticalFlowUsageFlagBitsNV describing the intended optical flow usage of the image.


Valid Usage (Implicit)
  • VUID-VkOpticalFlowImageFormatInfoNV-sType-sType

  • VUID-VkOpticalFlowImageFormatInfoNV-usage-parameter
    usage must be a valid combination of VkOpticalFlowUsageFlagBitsNV values

  • VUID-VkOpticalFlowImageFormatInfoNV-usage-requiredbitmask
    usage must not be 0

See Also

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.

Copyright 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0