csharp
public readonly record struct GpuScopeOne 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 NameWhat it is called — the pass's name, in practice.
public int LevelHow deeply nested it is, for drawing.
public ulong BeginTicksThe GPU clock at its start.
public ulong EndTicksThe GPU clock at its end.
public ulong DurationTicksHow 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