Class XrEventDataSessionStateChanged

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

public class XrEventDataSessionStateChanged extends org.lwjgl.system.Struct<XrEventDataSessionStateChanged> implements org.lwjgl.system.NativeResource
Event indicating session state changed.
Description

Receiving the XrEventDataSessionStateChanged event structure indicates that the application has changed lifecycle state.

Valid Usage (Implicit)
See Also

XrEventDataBaseHeader, PollEvent

Layout


 struct XrEventDataSessionStateChanged {
     XrStructureType type();
     void const * next();
     XrSession session();
     XrSessionState state();
     XrTime time();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int TYPE
      The struct member offsets.
    • NEXT

      public static final int NEXT
      The struct member offsets.
    • SESSION

      public static final int SESSION
      The struct member offsets.
    • STATE

      public static final int STATE
      The struct member offsets.
    • TIME

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

    • XrEventDataSessionStateChanged

      public XrEventDataSessionStateChanged(ByteBuffer container)
      Creates a XrEventDataSessionStateChanged 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