Class XrCompositionLayerPassthroughFB

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

public class XrCompositionLayerPassthroughFB extends org.lwjgl.system.Struct<XrCompositionLayerPassthroughFB> implements org.lwjgl.system.NativeResource
A composition layer for passthrough.
Description

It is a composition layer type that may be submitted in EndFrame where an XrCompositionLayerBaseHeader is specified, as a stand-in for the actual passthrough contents.

Errata: the third field of this structure is named flags rather than layerFlags as expected and as documented for for the parent type XrCompositionLayerBaseHeader.

Valid Usage (Implicit)
See Also

XrCompositionLayerBaseHeader

Layout


 struct XrCompositionLayerPassthroughFB {
     XrStructureType type();
     void const * next();
     XrCompositionLayerFlags flags();
     XrSpace space();
     XrPassthroughLayerFB layerHandle();
 }
  • 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.
    • SPACE

      public static final int SPACE
      The struct member offsets.
    • LAYERHANDLE

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

    • XrCompositionLayerPassthroughFB

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