# VkOpticalFlowImageFormatInfoNV(3) Manual Page

## Name

VkOpticalFlowImageFormatInfoNV - Structure describing optical flow image format info

Loading… please wait.

## 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;

## Members

- `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.

## Description

Valid Usage (Implicit)

- VUID-VkOpticalFlowImageFormatInfoNV-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_OPTICAL_FLOW_IMAGE_FORMAT_INFO_NV`

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

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

## See Also

VK_NV_optical_flow, VkOpticalFlowUsageFlagsNV, VkStructureType, vkGetPhysicalDeviceOpticalFlowImageFormatsNV

## 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

Copyright 2014-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0