Color scale and bias are applied to a layer color during composition, after its conversion to premultiplied alpha representation.
If specified, colorScale and colorBias must be used to alter the LayerColor as follows:
This extension specifies the XrCompositionLayerColorScaleBiasKHR structure, which, if present in the XrCompositionLayerBaseHeader::next chain, must be applied to the composition layer.
This extension does not define a new composition layer type, but rather it defines a transform that may be applied to the color derived from existing composition layer types.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | XR_KHR_COMPOSITION_LAYER_COLOR_SCALE_BIAS_EXTENSION_NAME
The extension name. |
| public static final int | XR_KHR_composition_layer_color_scale_bias_SPEC_VERSION
The extension specification version. |
| public static final int | XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| XR_KHR_COMPOSITION_LAYER_COLOR_SCALE_BIAS_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_KHR_COMPOSITION_LAYER_COLOR_SCALE_BIAS_EXTENSION_NAME The extension name. | |
| XR_KHR_composition_layer_color_scale_bias_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_KHR_composition_layer_color_scale_bias_SPEC_VERSION The extension specification version. | |
| XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR | back to summary |
|---|---|
| public static final int XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR Extends | |
| KHRCompositionLayerColorScaleBias | back to summary |
|---|---|
| private KHRCompositionLayerColorScaleBias() | |