debugAllowRenderGraphCapture property

bool get debugAllowRenderGraphCapture

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;
set debugAllowRenderGraphCapture (bool value)

Implementation

static set debugAllowRenderGraphCapture(bool value) =>
    RenderGraphDebug.enabled = value;