/// <summary> /// Initialises the RenderDoc API /// </summary> /// <returns>Whether RenderDoc initialised successfully</returns> public static bool Initialise() { IsLoaded = RDoc.Load(out renderDocInternal); HookIntoChildren = true; CaptureAllCmdLists = true; return(IsLoaded); }
/// <summary> /// Initialises the RenderDoc API /// </summary> /// <param name="path">The path to the RenderDoc shared library (<c>renderdoc.dll / librenderdoc.dylib / librenderdoc.so</c>)</param> /// <returns>Whether RenderDoc initialised successfully</returns> public static bool Initialise(string path) { var success = RDoc.Load(path, out renderDocInternal); HookIntoChildren = true; CaptureAllCmdLists = true; return(IsLoaded); }