You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
754 B

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