using System.Collections.Generic;
using UnityEngine.Rendering.LookDev;
namespace UnityEngine.Rendering.HighDefinition
{
///
/// Volumetric Cloud
/// Interface, Implementation for VolumetricCloud on each SRP
///
public partial class HDRenderPipeline : IVolumetricCloud
{
///
/// Check is the current HDRP had VolumetricCloud
///
/// true if the VolumetricCloud is usable on HDRP
public bool IsVolumetricCloudUsable()
{
if (currentAsset != null)
return currentAsset.currentPlatformRenderPipelineSettings.supportVolumetricClouds;
else
return false;
}
}
}