using System.Collections.Generic;
using UnityEngine.Rendering.LookDev;
namespace UnityEngine.Rendering.HighDefinition
{
///
/// Interface defining if an SRP supports environment effects for lens flare occlusion
///
public partial class HDRenderPipeline : ICloudBackground
{
///
/// Check is the current Render Pipeline supports environement effects for lens flare occlusion.
/// HDRP supports lens flare occlusion from volumetric clouds, background clouds, fog, volumetric fog and water
///
/// true
public bool IsCloudBackgroundUsable()
{
return GraphicsSettings.currentRenderPipeline is HDRenderPipelineAsset;
}
}
}