using System;
namespace UnityEngine.Rendering.Universal
{
///
/// A volume component that holds settings for the Chromatic Aberration effect.
///
[Serializable, VolumeComponentMenu("Post-processing/Chromatic Aberration")]
[SupportedOnRenderPipeline(typeof(UniversalRenderPipelineAsset))]
[URPHelpURL("post-processing-chromatic-aberration")]
public sealed class ChromaticAberration : VolumeComponent, IPostProcessComponent
{
///
/// Controls the strength of the chromatic aberration effect.
///
[Tooltip("Use the slider to set the strength of the Chromatic Aberration effect.")]
public ClampedFloatParameter intensity = new ClampedFloatParameter(0f, 0f, 1f);
///
public bool IsActive() => intensity.value > 0f;
///
[Obsolete("Unused #from(2023.1)", false)]
public bool IsTileCompatible() => false;
}
}