mathe/Library/PackageCache/com.unity.shadergraph@14.0.8/Editor/Data/Interfaces/GenerationMode.cs

14 lines
281 B
C#
Raw Normal View History

2024-09-20 20:30:10 +02:00
namespace UnityEditor.ShaderGraph
{
enum GenerationMode
{
Preview,
ForReals,
VFX
}
static class GenerationModeExtensions
{
public static bool IsPreview(this GenerationMode mode) { return mode == GenerationMode.Preview; }
}
}