Nexus/Library/PackageCache/com.unity.shadergraph@759cfc176571/Editor/Data/Interfaces/GenerationMode.cs

14 lines
281 B
C#
Raw Permalink Normal View History

2026-01-06 17:23:00 +01:00
namespace UnityEditor.ShaderGraph
{
enum GenerationMode
{
Preview,
ForReals,
VFX
}
static class GenerationModeExtensions
{
public static bool IsPreview(this GenerationMode mode) { return mode == GenerationMode.Preview; }
}
}