public bool OpenEditor() { var path = Factory.GetPathOfXkslShader(Name); Process.Start(path); var bytecodeCompilerResults = CompilerResults.Bytecode.WaitForResult(); foreach (var m in bytecodeCompilerResults.CompilationLog.Messages) { if (EffectNodeFactory.TryGetFilePath(m, out string p) && p != path && File.Exists(p)) { Process.Start(p); } break; } return(true); }
public EffectNodeDescription(EffectNodeFactory factory, string effectName) { Factory = factory; Name = effectName; }