Class XrPassthroughPreferencesMETA

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

public class XrPassthroughPreferencesMETA extends org.lwjgl.system.Struct<XrPassthroughPreferencesMETA> implements org.lwjgl.system.NativeResource
Passthrough preferences.
Description

The runtime must populate the XrPassthroughPreferencesMETA structure with the relevant information when the app calls GetPassthroughPreferencesMETA.

Presence of the bit flag PASSTHROUGH_PREFERENCE_DEFAULT_TO_ACTIVE_BIT_META does not indicate a guarantee that applications can enable and use passthrough in practice. The runtime may impose restrictions on passthrough usage (e.g. based on hardware availability or permission models) independently of the state of this flag bit. Apps should test for this flag explicitly, as more flag bits may be introduced in the future.

Valid Usage (Implicit)
See Also

GetPassthroughPreferencesMETA

Layout


 struct XrPassthroughPreferencesMETA {
     XrStructureType type();
     void const * next();
     XrPassthroughPreferenceFlagsMETA flags();
 }
  • 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.
    • FLAGS

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

    • XrPassthroughPreferencesMETA

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