Class VREventController

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  VREventController.Buffer
      An array of VREventController structs.
      • Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

        org.lwjgl.system.Pointer.Default
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ALIGNOF
      The struct alignment in bytes.
      static int BUTTON
      The struct member offsets.
      static int SIZEOF
      The struct size in bytes.
      • Fields inherited from interface org.lwjgl.system.Pointer

        BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
    • Constructor Summary

      Constructors 
      Constructor Description
      VREventController​(java.nio.ByteBuffer container)
      Creates a VREventController instance at the current position of the specified ByteBuffer container.
    • Field Detail

      • SIZEOF

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

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

        public static final int BUTTON
        The struct member offsets.
    • Constructor Detail

      • VREventController

        public VREventController​(java.nio.ByteBuffer container)
        Creates a VREventController 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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • button

        public int button()
        Returns the value of the button field.
      • create

        public static VREventController create​(long address)
        Returns a new VREventController instance for the specified memory address.
      • createSafe

        @Nullable
        public static VREventController createSafe​(long address)
        Like create, but returns null if address is NULL.
      • createSafe

        @Nullable
        public static VREventController.Buffer createSafe​(long address,
                                                          int capacity)
        Like create, but returns null if address is NULL.
      • nbutton

        public static int nbutton​(long struct)
        Unsafe version of button().