Class VkOpticalFlowSessionCreateInfoNV

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkOpticalFlowSessionCreateInfoNV extends Struct<VkOpticalFlowSessionCreateInfoNV> implements NativeResource
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