Add Debug derive for ScreenSpaceAmbientOcclusionSettings struct (#13387)
# Objective To streamline the code which utilizes `Debug` in user's struct like `GraphicsSettings`. This addition aims to enhance code simplicity and readability. ## Solution Add `Debug` derive for `ScreenSpaceAmbientOcclusionSettings` struct. ## Testing Should have no impact.
This commit is contained in:
parent
d9993a8092
commit
eba8744a70
@ -153,13 +153,13 @@ pub struct ScreenSpaceAmbientOcclusionBundle {
|
||||
/// Doing so greatly reduces SSAO noise.
|
||||
///
|
||||
/// SSAO is not supported on `WebGL2`, and is not currently supported on `WebGPU` or `DirectX12`.
|
||||
#[derive(Component, ExtractComponent, Reflect, PartialEq, Eq, Hash, Clone, Default)]
|
||||
#[derive(Component, ExtractComponent, Reflect, PartialEq, Eq, Hash, Clone, Default, Debug)]
|
||||
#[reflect(Component)]
|
||||
pub struct ScreenSpaceAmbientOcclusionSettings {
|
||||
pub quality_level: ScreenSpaceAmbientOcclusionQualityLevel,
|
||||
}
|
||||
|
||||
#[derive(Reflect, PartialEq, Eq, Hash, Clone, Copy, Default)]
|
||||
#[derive(Reflect, PartialEq, Eq, Hash, Clone, Copy, Default, Debug)]
|
||||
pub enum ScreenSpaceAmbientOcclusionQualityLevel {
|
||||
Low,
|
||||
Medium,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user