Method
MetaCompositorset_background_blur_params
Declaration [src]
void
meta_compositor_set_background_blur_params (
MetaCompositor* compositor,
float blur_radius,
float saturation,
float noise
)
Description [src]
Sets the parameters for compositor-rendered background blurs requested by clients through ext-background-effect-v1.
The default parameters are a blur radius of 24.0, a saturation of 1.25, and a noise amount of 0.015.
Parameters
blur_radius-
Type:
floatBlur radius in pixels for compositor-rendered background effects.
saturation-
Type:
floatColor boost applied after blurring; 1.0 leaves colors unchanged, values above 1.0 increase color relative to luma.
noise-
Type:
floatAmount of screen-space grain to add after blurring; 0.0 disables it.