Skip to content

Struct GpuTiming

Namespace: Apogee.Graphics
Assembly: Apogee.Graphics.dll

How long a named part of a frame took on the GPU.

public readonly record struct GpuTiming : IEquatable<GpuTiming>

Implements

IEquatable<GpuTiming>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

GpuTiming(string, double)

How long a named part of a frame took on the GPU.

public GpuTiming(string Name, double Milliseconds)

Parameters

Name string

Milliseconds double

Properties

Milliseconds

public double Milliseconds { get; init; }

Property Value

double

Name

public string Name { get; init; }

Property Value

string