public static void Init() { string CapturePath = Path.GetFullPath("./RenderDocCapture/"); if (!Directory.Exists(CapturePath)) { Directory.CreateDirectory(CapturePath); } if (RenderDoc.Load(out RDoc)) { RDoc.SetCaptureSavePath(CapturePath); } }