Vixen
02b45cc4
csharp
public sealed class CaptureNode

One row of the frame debugger's tree: a pass, a group, or a call.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The nesting a capture has and a flat command list does not. Passes and debug groups both open and close, so a frame's stream is a tree whether or not anybody built one — and finding the shadow pass in a stream of two thousand calls without it is the ten-minute scroll ICommandList.PushDebugGroup's own remarks describe.

Fields and properties (6)

  • public CapturedCommand Command

    The call that opened this node.

  • public int Level

    How deeply nested it is.

  • public IReadOnlyList<CaptureNode> Children

    What is inside it, in stream order.

  • public int EndSequence

    Where in the stream this node's scope ends.

  • public int WorkCount

    How many draws and dispatches are inside it, at any depth.

  • public string Label

    What the row says.

Methods (1)

  • public void Walk(Action<CaptureNode> visit)

    Calls on this node and everything under it, parents first.

Used by (3)

  • FrameCaptureVixen.Editor.Debugger
  • FrameCaptureTestsVixen.Editor.Debugger.Tests
  • FrameDebuggerViewVixen.Editor.Debugger