OpenXRFbCompositionLayerSettingsExtension

Inherits: OpenXRExtensionWrapper

Wraps the XR_FB_composition_layer_settings extension.

Description

Wraps the XR_FB_composition_layer_settings extension.

Properties

bool

projection_layer_auto_filter_enabled

false

SharpeningMode

projection_layer_sharpening_mode

0

SupersamplingMode

projection_layer_supersampling_mode

0

Methods

bool

is_enabled ( ) const


Enumerations

enum SupersamplingMode:

SupersamplingMode SUPERSAMPLING_MODE_DISABLED = 0

Disable supersampling.

SupersamplingMode SUPERSAMPLING_MODE_NORMAL = 1

Normal supersampling.

SupersamplingMode SUPERSAMPLING_MODE_QUALITY = 2

Quality supersampling.


enum SharpeningMode:

SharpeningMode SHARPENING_MODE_DISABLED = 0

Disable sharpening.

SharpeningMode SHARPENING_MODE_NORMAL = 1

Normal sharpening.

SharpeningMode SHARPENING_MODE_QUALITY = 2

Quality sharpening.


Property Descriptions

bool projection_layer_auto_filter_enabled = false

  • void set_projection_layer_auto_filter_enabled ( bool value )

  • bool is_projection_layer_auto_filter_enabled ( )

Enables the runtime's automatic layer filtering. The runtime will switch between disabled sharpening / supersampling and the modes indicated by projection_layer_sharpening_mode and projection_layer_supersampling_mode.


SharpeningMode projection_layer_sharpening_mode = 0

Selects the sharpening mode for the projection layer.


SupersamplingMode projection_layer_supersampling_mode = 0

Selects the supersampling mode for the projection layer.


Method Descriptions

bool is_enabled ( ) const

Checks if the extension is enabled or not.