Class XrEventDataInstanceLossPending

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

    public class XrEventDataInstanceLossPending
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Event indicating instance loss will occur.
    Description

    After the application has destroyed all of its instances and their children and waited past the specified time, it may then re-try CreateInstance in a loop waiting for whatever maintenance the runtime is performing to complete. The runtime will return ERROR_RUNTIME_UNAVAILABLE from CreateInstance as long as it is unable to create the instance. Once the runtime has returned and is able to continue, it must resume returning SUCCESS from CreateInstance if valid data is passed in.

    Member Descriptions
    • type is the XrStructureType of this structure.
    • next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR.
    • lossTime is the absolute time at which the indicated instance will be considered lost and become unusable.
    Valid Usage (Implicit)
    See Also

    XrEventDataBaseHeader, PollEvent

    Layout

    
     struct XrEventDataInstanceLossPending {
         XrStructureType type;
         void const * next;
         XrTime lossTime;
     }