Class XrCompositionLayerSettingsFB

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

public class XrCompositionLayerSettingsFB extends org.lwjgl.system.Struct<XrCompositionLayerSettingsFB> implements org.lwjgl.system.NativeResource
specifies processing options for composition layers.
Description

XrCompositionLayerSettingsFB contains additional flags to indicate which processing steps to perform on a composition layer.

If both COMPOSITION_LAYER_SETTINGS_NORMAL_SUPER_SAMPLING_BIT_FB and COMPOSITION_LAYER_SETTINGS_QUALITY_SUPER_SAMPLING_BIT_FB are set, COMPOSITION_LAYER_SETTINGS_NORMAL_SUPER_SAMPLING_BIT_FB will take precedence.

If both COMPOSITION_LAYER_SETTINGS_NORMAL_SHARPENING_BIT_FB and COMPOSITION_LAYER_SETTINGS_QUALITY_SHARPENING_BIT_FB are set, COMPOSITION_LAYER_SETTINGS_NORMAL_SHARPENING_BIT_FB will take precedence.

To specify the additional flags, create an XrCompositionLayerSettingsFB structure and pass it via the XrCompositionLayerBaseHeader structure’s next parameter.

Valid Usage (Implicit)
See Also

XrCompositionLayerBaseHeader

Layout


 struct XrCompositionLayerSettingsFB {
     XrStructureType type();
     void const * next();
     XrCompositionLayerSettingsFlagsFB layerFlags();
 }
  • 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.
    • LAYERFLAGS

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

    • XrCompositionLayerSettingsFB

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