OpenXRFbCompositionLayerAlphaBlendExtension

Inherits: OpenXRExtensionWrapper

Wraps the XR_FB_composition_layer_alpha_blend extension.

Description

Wraps the XR_FB_composition_layer_alpha_blend extension.

Properties

bool

projection_layer_alpha_blend_enabled

BlendFactor

projection_layer_destination_alpha_blend_factor

0

BlendFactor

projection_layer_destination_color_blend_factor

0

BlendFactor

projection_layer_source_alpha_blend_factor

1

BlendFactor

projection_layer_source_color_blend_factor

1

Methods

bool

is_enabled ( ) const


Enumerations

enum BlendFactor:

BlendFactor BLEND_FACTOR_ZERO = 0

Blending factor set to zero, resulting in no contribution.

BlendFactor BLEND_FACTOR_ONE = 1

Blending factor set to one, resulting in full contribution.

BlendFactor BLEND_FACTOR_SRC_ALPHA = 2

Blending factor using the source alpha value.

BlendFactor BLEND_FACTOR_ONE_MINUS_SRC_ALPHA = 3

Blending factor using one minus the source alpha value.

BlendFactor BLEND_FACTOR_DST_ALPHA = 4

Blending factor using the destination alpha value.

BlendFactor BLEND_FACTOR_ONE_MINUS_DST_ALPHA = 5

Blending factor using one minus the destination alpha value.


Property Descriptions

bool projection_layer_alpha_blend_enabled

  • void set_projection_layer_alpha_blend_enabled ( bool value )

  • bool is_projection_layer_alpha_blend_enabled ( )

Enables alpha blending for the projection layer.


BlendFactor projection_layer_destination_alpha_blend_factor = 0

  • void set_projection_layer_destination_alpha_blend_factor ( BlendFactor value )

  • BlendFactor get_projection_layer_destination_alpha_blend_factor ( )

Determines the destination's contribution to the alpha blending.


BlendFactor projection_layer_destination_color_blend_factor = 0

  • void set_projection_layer_destination_color_blend_factor ( BlendFactor value )

  • BlendFactor get_projection_layer_destination_color_blend_factor ( )

Determines the destination's contribution to the color blending.


BlendFactor projection_layer_source_alpha_blend_factor = 1

  • void set_projection_layer_source_alpha_blend_factor ( BlendFactor value )

  • BlendFactor get_projection_layer_source_alpha_blend_factor ( )

Determines the source's contribution to the alpha blending.


BlendFactor projection_layer_source_color_blend_factor = 1

  • void set_projection_layer_source_color_blend_factor ( BlendFactor value )

  • BlendFactor get_projection_layer_source_color_blend_factor ( )

Determines the source's contribution to the color blending.


Method Descriptions

bool is_enabled ( ) const

Checks if the extension is enabled or not.