|
|
@ -35,6 +35,7 @@ pub struct RendererSettings {
|
|
|
|
scroll_animation_length: f32,
|
|
|
|
scroll_animation_length: f32,
|
|
|
|
floating_opacity: f32,
|
|
|
|
floating_opacity: f32,
|
|
|
|
floating_blur: bool,
|
|
|
|
floating_blur: bool,
|
|
|
|
|
|
|
|
floating_blur_amount: f32,
|
|
|
|
debug_renderer: bool,
|
|
|
|
debug_renderer: bool,
|
|
|
|
profiler: bool,
|
|
|
|
profiler: bool,
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -46,6 +47,7 @@ impl Default for RendererSettings {
|
|
|
|
scroll_animation_length: 0.3,
|
|
|
|
scroll_animation_length: 0.3,
|
|
|
|
floating_opacity: 0.7,
|
|
|
|
floating_opacity: 0.7,
|
|
|
|
floating_blur: true,
|
|
|
|
floating_blur: true,
|
|
|
|
|
|
|
|
floating_blur_amount: 2.0,
|
|
|
|
debug_renderer: false,
|
|
|
|
debug_renderer: false,
|
|
|
|
profiler: false,
|
|
|
|
profiler: false,
|
|
|
|
}
|
|
|
|
}
|
|
|
|