Class VkOpticalFlowSessionCreateInfoNV

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkOpticalFlowSessionCreateInfoNV>
org.lwjgl.vulkan.VkOpticalFlowSessionCreateInfoNV
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkOpticalFlowSessionCreateInfoNV extends org.lwjgl.system.Struct<VkOpticalFlowSessionCreateInfoNV> implements org.lwjgl.system.NativeResource
Structure specifying parameters of a newly created optical flow session.
Valid Usage
Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_OPTICAL_FLOW_SESSION_CREATE_INFO_NV
  • pNext must be NULL or a pointer to a valid instance of VkOpticalFlowSessionCreatePrivateDataInfoNV
  • The sType value of each struct in the pNext chain must be unique
  • imageFormat must be a valid VkFormat value
  • flowVectorFormat must be a valid VkFormat value
  • If costFormat is not 0, costFormat must be a valid VkFormat value
  • outputGridSize must be a valid combination of VkOpticalFlowGridSizeFlagBitsNV values
  • outputGridSize must not be 0
  • hintGridSize must be a valid combination of VkOpticalFlowGridSizeFlagBitsNV values
  • If performanceLevel is not 0, performanceLevel must be a valid VkOpticalFlowPerformanceLevelNV value
  • flags must be a valid combination of VkOpticalFlowSessionCreateFlagBitsNV values
See Also

CreateOpticalFlowSessionNV

Layout


 struct VkOpticalFlowSessionCreateInfoNV {
     VkStructureType sType();
     void * pNext();
     uint32_t width();
     uint32_t height();
     VkFormat imageFormat();
     VkFormat flowVectorFormat();
     VkFormat costFormat();
     VkOpticalFlowGridSizeFlagsNV outputGridSize();
     VkOpticalFlowGridSizeFlagsNV hintGridSize();
     VkOpticalFlowPerformanceLevelNV performanceLevel();
     VkOpticalFlowSessionCreateFlagsNV flags();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • WIDTH

      public static final int WIDTH
      The struct member offsets.
    • HEIGHT

      public static final int HEIGHT
      The struct member offsets.
    • IMAGEFORMAT

      public static final int IMAGEFORMAT
      The struct member offsets.
    • FLOWVECTORFORMAT

      public static final int FLOWVECTORFORMAT
      The struct member offsets.
    • COSTFORMAT

      public static final int COSTFORMAT
      The struct member offsets.
    • OUTPUTGRIDSIZE

      public static final int OUTPUTGRIDSIZE
      The struct member offsets.
    • HINTGRIDSIZE

      public static final int HINTGRIDSIZE
      The struct member offsets.
    • PERFORMANCELEVEL

      public static final int PERFORMANCELEVEL
      The struct member offsets.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
  • Constructor Details

    • VkOpticalFlowSessionCreateInfoNV

      public VkOpticalFlowSessionCreateInfoNV(ByteBuffer container)
      Creates a VkOpticalFlowSessionCreateInfoNV instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details