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.
 
 
 
 

22 lines
685 B

using System.Collections.Generic;
using UnityEngine.Rendering;
using UnityEngine.Rendering.HighDefinition;
namespace UnityEditor.Rendering.HighDefinition
{
class VolumetricCloudsResourcesStripper : IRenderPipelineGraphicsSettingsStripper<VolumetricCloudsRuntimeResources>
{
public bool active => true;
public bool CanRemoveSettings(VolumetricCloudsRuntimeResources settings)
{
foreach (var asset in HDRPBuildData.instance.renderPipelineAssets)
{
if (asset.currentPlatformRenderPipelineSettings.supportVolumetricClouds)
return false;
}
return true;
}
}
}