Files
CartoonFPS/Library/PackageCache/com.unity.render-pipelines.core@2be5e7224a10/Runtime/Stripping/IRenderPipelineGraphicsSettingsStripper.cs
SHOUTING_PIRATE 4c8592d0ab initial commit
2025-08-05 09:30:40 +01:00

20 lines
732 B
C#

#if UNITY_EDITOR
namespace UnityEngine.Rendering
{
/// <summary>
/// Interface to define an stripper for a <see cref="IRenderPipelineGraphicsSettings"/>
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IRenderPipelineGraphicsSettingsStripper<in T> : IStripper
where T : IRenderPipelineGraphicsSettings
{
/// <summary>
/// Specifies if a <see cref="IRenderPipelineGraphicsSettings"/> can be stripped from the build
/// </summary>
/// <param name="settings">The settings that will be stripped</param>
/// <returns>true if the setting is not used and can be stripped</returns>
public bool CanRemoveSettings(T settings);
}
}
#endif