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;
- sTypeis a VkStructureType value identifying this structure.
- pNextis- NULLor a pointer to a structure extending this structure.
- flagsare the VkOpticalFlowExecuteFlagsNV used for this command.
- regionCountis the number of regions of interest specified in- pRegions.
- pRegionsis a pointer to- regionCount- VkRect2Dregions 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-pNext-pNext
pNext must be NULL
VUID-VkOpticalFlowExecuteInfoNV-flags-parameter
flags must be a valid combination of VkOpticalFlowExecuteFlagBitsNV values
VUID-VkOpticalFlowExecuteInfoNV-pRegions-parameter
If regionCount is not 0, pRegions must be a valid pointer to an array of regionCount VkRect2D structures