Class XrEventDataSessionStateChanged

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class XrEventDataSessionStateChanged
    extends org.lwjgl.system.Struct
    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 Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, SESSION, STATE, TIME

        The struct member offsets.
    • Constructor Detail

      • XrEventDataSessionStateChanged

        public XrEventDataSessionStateChanged​(java.nio.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.