debugAllowRenderGraphCapture property
Opt-in for captureRenderGraph and the render-graph debug hooks. False (the shipping default) keeps the capture branch tree-shakeable; an editor or debugging host sets it at startup.
Implementation
static bool get debugAllowRenderGraphCapture => RenderGraphDebug.enabled;
Implementation
static set debugAllowRenderGraphCapture(bool value) =>
RenderGraphDebug.enabled = value;