Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Editor/Data/Interfaces/GenerationMode.cs

14 lines
281 B
C#
Raw Permalink Normal View History

2024-05-06 14:45:45 -04:00
namespace UnityEditor.ShaderGraph
{
enum GenerationMode
{
Preview,
ForReals,
VFX
}
static class GenerationModeExtensions
{
public static bool IsPreview(this GenerationMode mode) { return mode == GenerationMode.Preview; }
}
}