Top Description Fields Constructors Methods
org.lwjgl.openxr

public final Class FBCompositionLayerAlphaBlend

extends Object
Class Inheritance

The XR_FB_composition_layer_alpha_blend extension.

This extension provides explicit control over source and destination blend factors, with separate controls for color and alpha. When specified, these blend controls supersede the behavior of COMPOSITION_LAYER_BLEND_TEXTURE_SOURCE_ALPHA_BIT.

When COMPOSITION_LAYER_UNPREMULTIPLIED_ALPHA_BIT is specified, the source color is unpremultiplied alpha.

Like color, destination alpha is initialized to 0 before composition begins.

In order to enable the functionality of this extension, the application must pass the name of the extension into CreateInstance via the XrInstanceCreateInfo::enabledExtensionNames parameter as indicated in the extensions section.

These blend factors are specified by attaching a XrCompositionLayerAlphaBlendFB structure to the next chain of a XrCompositionLayerBaseHeader-derived layer structure.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final String
public static final int
XR_FB_composition_layer_alpha_blend_SPEC_VERSION

The extension specification version.

public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_BLEND_FACTOR_DST_ALPHA_FBback to summary
public static final int XR_BLEND_FACTOR_DST_ALPHA_FB

XrBlendFactorFB - Blend Factor Types

See Also

XrCompositionLayerAlphaBlendFB

Enum values:
XR_BLEND_FACTOR_ONE_FBback to summary
public static final int XR_BLEND_FACTOR_ONE_FB

XrBlendFactorFB - Blend Factor Types

See Also

XrCompositionLayerAlphaBlendFB

Enum values:
XR_BLEND_FACTOR_ONE_MINUS_DST_ALPHA_FBback to summary
public static final int XR_BLEND_FACTOR_ONE_MINUS_DST_ALPHA_FB

XrBlendFactorFB - Blend Factor Types

See Also

XrCompositionLayerAlphaBlendFB

Enum values:
XR_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA_FBback to summary
public static final int XR_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA_FB

XrBlendFactorFB - Blend Factor Types

See Also

XrCompositionLayerAlphaBlendFB

Enum values:
XR_BLEND_FACTOR_SRC_ALPHA_FBback to summary
public static final int XR_BLEND_FACTOR_SRC_ALPHA_FB

XrBlendFactorFB - Blend Factor Types

See Also

XrCompositionLayerAlphaBlendFB

Enum values:
XR_BLEND_FACTOR_ZERO_FBback to summary
public static final int XR_BLEND_FACTOR_ZERO_FB

XrBlendFactorFB - Blend Factor Types

See Also

XrCompositionLayerAlphaBlendFB

Enum values:
XR_FB_COMPOSITION_LAYER_ALPHA_BLEND_EXTENSION_NAMEback to summary
public static final String XR_FB_COMPOSITION_LAYER_ALPHA_BLEND_EXTENSION_NAME

The extension name.

XR_FB_composition_layer_alpha_blend_SPEC_VERSIONback to summary
public static final int XR_FB_composition_layer_alpha_blend_SPEC_VERSION

The extension specification version.

XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FBback to summary
public static final int XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB

Extends XrStructureType.

Constructor Detail

FBCompositionLayerAlphaBlendback to summary
private FBCompositionLayerAlphaBlend()