Vixen
02b45cc4
csharp
public readonly record struct GpuScope

One timed region of a frame on the GPU.

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

Fields and properties (5)

  • public string Name

    What it is called — the pass's name, in practice.

  • public int Level

    How deeply nested it is, for drawing.

  • public ulong BeginTicks

    The GPU clock at its start.

  • public ulong EndTicks

    The GPU clock at its end.

  • public ulong DurationTicks

    How many ticks it took.

Methods (1)

  • public GpuScope(string Name, int Level, ulong BeginTicks, ulong EndTicks)

    One timed region of a frame on the GPU.

Used by (4)

  • GpuFrameVixen.Editor.Profiler
  • GpuProfilerVixen.Editor.Profiler
  • GpuProfilerTestsVixen.Editor.Profiler.Tests
  • GpuTimelineViewVixen.Editor.Profiler