Structures

VkOpticalFlowExecuteInfoNV

Structure specifying parameters of an optical flow vector calculation

The VkOpticalFlowExecuteInfoNV structure is defined as:

typedef struct VkOpticalFlowExecuteInfoNV {
    VkStructureType sType;
    void* pNext;
    VkOpticalFlowExecuteFlagsNV flags;
    uint32_t regionCount;
    const VkRect2D* pRegions;
} VkOpticalFlowExecuteInfoNV;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • flags are the VkOpticalFlowExecuteFlagsNV used for this command.
  • regionCount is the number of regions of interest specified in pRegions.
  • pRegions is a pointer to regionCount VkRect2D regions of interest.

Valid Usage

VUID-VkOpticalFlowExecuteInfoNV-regionCount-07593

regionCount must be 0 if VK_OPTICAL_FLOW_SESSION_CREATE_ALLOW_REGIONS_BIT_NV was not set for VkOpticalFlowSessionNV on which this command is operating

Valid Usage (Implicit)

VUID-VkOpticalFlowExecuteInfoNV-sType-sType

sType must be VK_STRUCTURE_TYPE_OPTICAL_FLOW_EXECUTE_INFO_NV

VUID-VkOpticalFlowExecuteInfoNV-pRegions-parameter

If regionCount is not 0, pRegions must be a valid pointer to an array of regionCount VkRect2D structures