OpenXRFbCompositionLayerSettingsExtension
Inherits: OpenXRExtensionWrapper
Wraps the XR_FB_composition_layer_settings extension.
Description
Wraps the XR_FB_composition_layer_settings extension.
Properties
bool |
|
|
|
||
|
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
void set_projection_layer_sharpening_mode ( SharpeningMode value )
SharpeningMode get_projection_layer_sharpening_mode ( )
Selects the sharpening mode for the projection layer.
SupersamplingMode projection_layer_supersampling_mode = 0
void set_projection_layer_supersampling_mode ( SupersamplingMode value )
SupersamplingMode get_projection_layer_supersampling_mode ( )
Selects the supersampling mode for the projection layer.
Method Descriptions
bool is_enabled ( ) const
Checks if the extension is enabled or not.