Class VREventNotification

  • All Implemented Interfaces:
    org.lwjgl.system.Pointer

    public class VREventNotification
    extends org.lwjgl.system.Struct
    Notification related events. Details will still change at this point.

    Layout

    
     struct VREvent_Notification_t {
         uint64_t ulUserValue;
         uint32_t notificationId;
     }
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  VREventNotification.Buffer
      An array of VREventNotification 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 NOTIFICATIONID
      The struct member offsets.
      static int SIZEOF
      The struct size in bytes.
      static int ULUSERVALUE
      The struct member offsets.
      • Fields inherited from interface org.lwjgl.system.Pointer

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

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

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • ULUSERVALUE, NOTIFICATIONID

        The struct member offsets.
    • Constructor Detail

      • VREventNotification

        public VREventNotification​(java.nio.ByteBuffer container)
        Creates a VREventNotification 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
      • ulUserValue

        public long ulUserValue()
        Returns the value of the ulUserValue field.
      • notificationId

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

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

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

        public static long nulUserValue​(long struct)
        Unsafe version of ulUserValue().
      • nnotificationId

        public static int nnotificationId​(long struct)
        Unsafe version of notificationId().