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.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | XR_BLEND_FACTOR_DST_ALPHA_FB
XrBlendFactorFB - Blend Factor Types See Also
|
| public static final int | XR_BLEND_FACTOR_ONE_FB
XrBlendFactorFB - Blend Factor Types See Also
|
| public static final int | XR_BLEND_FACTOR_ONE_MINUS_DST_ALPHA_FB
XrBlendFactorFB - Blend Factor Types See Also
|
| public static final int | XR_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA_FB
XrBlendFactorFB - Blend Factor Types See Also
|
| public static final int | XR_BLEND_FACTOR_SRC_ALPHA_FB
XrBlendFactorFB - Blend Factor Types See Also
|
| public static final int | XR_BLEND_FACTOR_ZERO_FB
XrBlendFactorFB - Blend Factor Types See Also
|
| public static final String | XR_FB_COMPOSITION_LAYER_ALPHA_BLEND_EXTENSION_NAME
The extension name. |
| public static final int | XR_FB_composition_layer_alpha_blend_SPEC_VERSION
The extension specification version. |
| public static final int | XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| XR_BLEND_FACTOR_DST_ALPHA_FB | back to summary |
|---|---|
| public static final int XR_BLEND_FACTOR_DST_ALPHA_FB XrBlendFactorFB - Blend Factor Types See Also
Enum values: | |
| XR_BLEND_FACTOR_ONE_FB | back to summary |
|---|---|
| public static final int XR_BLEND_FACTOR_ONE_FB XrBlendFactorFB - Blend Factor Types See Also
Enum values: | |
| XR_BLEND_FACTOR_ONE_MINUS_DST_ALPHA_FB | back to summary |
|---|---|
| public static final int XR_BLEND_FACTOR_ONE_MINUS_DST_ALPHA_FB XrBlendFactorFB - Blend Factor Types See Also
Enum values: | |
| XR_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA_FB | back to summary |
|---|---|
| public static final int XR_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA_FB XrBlendFactorFB - Blend Factor Types See Also
Enum values: | |
| XR_BLEND_FACTOR_SRC_ALPHA_FB | back to summary |
|---|---|
| public static final int XR_BLEND_FACTOR_SRC_ALPHA_FB XrBlendFactorFB - Blend Factor Types See Also
Enum values: | |
| XR_BLEND_FACTOR_ZERO_FB | back to summary |
|---|---|
| public static final int XR_BLEND_FACTOR_ZERO_FB XrBlendFactorFB - Blend Factor Types See Also
Enum values: | |
| XR_FB_COMPOSITION_LAYER_ALPHA_BLEND_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_FB_COMPOSITION_LAYER_ALPHA_BLEND_EXTENSION_NAME The extension name. | |
| XR_FB_composition_layer_alpha_blend_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_FB_composition_layer_alpha_blend_SPEC_VERSION The extension specification version. | |
| XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB | back to summary |
|---|---|
| public static final int XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB Extends | |
| FBCompositionLayerAlphaBlend | back to summary |
|---|---|
| private FBCompositionLayerAlphaBlend() | |