Class METAPassthroughLayerResumedEvent

java.lang.Object
org.lwjgl.openxr.METAPassthroughLayerResumedEvent

public final class METAPassthroughLayerResumedEvent extends Object
The XR_META_passthrough_layer_resumed_event extension.

This extension defines an event that is emitted once a passthrough layer (created using XR_FB_passthrough) is resumed and ready for displaying after a resume command or when the passthrough layer was created with PASSTHROUGH_IS_RUNNING_AT_CREATION_BIT_FB.

The functions PassthroughLayerResumeFB and CreatePassthroughLayerFB from XR_FB_passthrough are asynchronous without any guarantees on when their effect will be visible on the display. Runtimes may asynchronously perform operations which may take several frames to complete, such as turning on sensor hardware. Runtimes queue this event under the aforementioned conditions when this extension is requested during instance creation.

Unlike most extensions, to start receiving the event, an app only needs to enable this extension.

This extension depends on XR_FB_passthrough.

  • Field Details

    • XR_META_passthrough_layer_resumed_event_SPEC_VERSION

      public static final int XR_META_passthrough_layer_resumed_event_SPEC_VERSION
      The extension specification version.
      See Also:
    • XR_META_PASSTHROUGH_LAYER_RESUMED_EVENT_EXTENSION_NAME

      public static final String XR_META_PASSTHROUGH_LAYER_RESUMED_EVENT_EXTENSION_NAME
      The extension name.
      See Also:
    • XR_TYPE_EVENT_DATA_PASSTHROUGH_LAYER_RESUMED_META

      public static final int XR_TYPE_EVENT_DATA_PASSTHROUGH_LAYER_RESUMED_META
      Extends XrStructureType.
      See Also: