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.
 
 
 
 

21 lines
625 B

using UnityEngine.Rendering;
using UnityEngine.Rendering.HighDefinition;
namespace UnityEditor.Rendering.HighDefinition
{
class WaterSystemResourcesStripper : IRenderPipelineGraphicsSettingsStripper<WaterSystemRuntimeResources>
{
public bool active => true;
public bool CanRemoveSettings(WaterSystemRuntimeResources settings)
{
foreach (var asset in HDRPBuildData.instance.renderPipelineAssets)
{
if (asset.currentPlatformRenderPipelineSettings.supportWater)
return false;
}
return true;
}
}
}