namespace UnityEngine.Rendering
{
///
/// Specifies the logging level for shader variants
///
public enum ShaderVariantLogLevel
{
/// Disable all log for Shader Variant
[Tooltip("No shader variants are logged")]
Disabled,
/// Only logs SRP Shaders when logging Shader Variant
[Tooltip("Only shaders that are compatible with SRPs (e.g., URP, HDRP) are logged")]
OnlySRPShaders,
/// Logs all Shader Variant
[Tooltip("All shader variants are logged")]
AllShaders,
}
///
/// Exposes settings for shader variants
///
public interface IShaderVariantSettings
{
///
/// Specifies the level of the logging for shader variants
///
ShaderVariantLogLevel shaderVariantLogLevel { get; set; }
///
/// Specifies if the stripping of the shaders variants needs to be exported
///
bool exportShaderVariants { get; set; }
}
}