Vixen
dd8b0a81
csharp
public sealed class RenderGraphSchedule

Which queue each of a frame's passes runs on, and what has to wait for what.

Read the guide page for this →

Remarks

Produced by Compile and readable before anything is recorded, which is the point: "did my compute pass actually go anywhere" is a question about the schedule, and answering it by profiling a frame is answering it far too late.

A schedule is always valid to execute. On a device with one queue — or under Single — it is one segment holding every surviving pass, which is exactly what the graph did before schedules existed.

Fields and properties (3)

  • public IReadOnlyList<RenderGraphSegment> Segments

    The segments, in the order they are recorded and submitted.

  • public bool IsMultiQueue

    Whether more than one queue is used.

  • public int OwnershipTransferCount

    How many resources change hands between queues over the frame.

Methods (1)

  • public QueueKind QueueOf(int passIndex)

    Which queue a pass runs on.

Used by (3)

  • QueueSchedulingTestsVixen.Graphics.RenderGraph.Tests
  • RenderGraphVixen.Graphics.RenderGraph
  • TimelineSubmissionTestsVixen.Graphics.RenderGraph.Tests