![]() |
XII Release 0.1.0
|
#include <RenderGraphDebug.h>
Classes | |
| struct | ExecutionEvent |
Static Public Member Functions | |
| static xiiResult | WriteSnapshot (const ExecutionEvent &event, xiiStreamWriter &stream) |
| static xiiResult | DumpToDot (xiiArrayPtr< const xiiRenderGraphCompiledPass > pCompiledPasses, xiiArrayPtr< const xiiRenderGraphBarrierDescription > pBarriers, xiiArrayPtr< const xiiRenderGraphMergeGroup > pMergeGroups, xiiArrayPtr< const xiiRenderGraphQueueSubmission > pQueueSubmissions, xiiArrayPtr< const xiiRenderGraphResourceDescription > pResources, xiiArrayPtr< const xiiRenderGraphResourceVersionDescription > pVersions, xiiStringBuilder &out_sDot) |
| Copyright (c) Theophilus Eriata. All Rights Reserved. | |
Static Public Attributes | |
| static xiiEvent< const ExecutionEvent &, xiiMutex > | s_ExecutionEvents |
| Copyright (c) Theophilus Eriata. All Rights Reserved. | |
Static utility class for render graph debugging and visualization.
Provides methods to serialize a compiled render graph into human-readable formats suitable for offline visualization with Graphviz or similar tools.
|
staticnodiscard |
Copyright (c) Theophilus Eriata. All Rights Reserved.
Generates a DOT-language description of the compiled render graph.
The output contains:
| compiledPasses | - All compiled passes returned by xiiRenderGraph::Compile(). |
| barriers | - All barriers from xiiRenderGraph::Compile(). |
| mergeGroups | - Merge groups from xiiRenderGraph::Compile(). |
| queueSubmission | - Queue submission ordering from xiiRenderGraph::Compile(). |
| out_sDot | - Receives the DOT text on success. |
|
staticnodiscard |
Versioned, pointer-free capture; stable IDs are strings to preserve JSON precision. The caller supplies a bounded stream. No GPU waits or query creation are performed.