Class EXTCompositionLayerInvertedAlpha

java.lang.Object
org.lwjgl.openxr.EXTCompositionLayerInvertedAlpha

public final class EXTCompositionLayerInvertedAlpha extends Object
The XR_EXT_composition_layer_inverted_alpha extension.

This extension provides a flag which, when applied to a composition layer, inverts the interpretation of the alpha value in the layer’s swapchain images. With this bit set, an alpha value of 1.0 represents fully transparent, and an alpha value of 0.0 represents fully opaque. This extension is primarily intended to allow applications using inverted alpha internally to submit composition layers with inverted alpha. Doing so using this extension over more general alternatives may result in less runtime overhead.

  • Field Details

    • XR_EXT_composition_layer_inverted_alpha_SPEC_VERSION

      public static final int XR_EXT_composition_layer_inverted_alpha_SPEC_VERSION
      The extension specification version.
      See Also:
    • XR_EXT_COMPOSITION_LAYER_INVERTED_ALPHA_EXTENSION_NAME

      public static final String XR_EXT_COMPOSITION_LAYER_INVERTED_ALPHA_EXTENSION_NAME
      The extension name.
      See Also:
    • XR_COMPOSITION_LAYER_INVERTED_ALPHA_BIT_EXT

      public static final int XR_COMPOSITION_LAYER_INVERTED_ALPHA_BIT_EXT
      Extends XrCompositionLayerFlagBits.
      See Also: