Struct DxgiFrameStatistics
Describes timing and presentation statistics for a frame.
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiFrameStatistics : IEquatable<DxgiFrameStatistics>
Properties
|
Edit this page
View Source
PresentCount
Gets a value that represents the running total count of times that an image was presented to the monitor since the computer booted.
Declaration
public uint PresentCount { get; }
Property Value
|
Edit this page
View Source
PresentRefreshCount
Gets a value that represents the running total count of v-blanks at which the last image was presented to the monitor and that have happened since the computer booted (for windowed mode, since the swap chain was created).
Declaration
public uint PresentRefreshCount { get; }
Property Value
|
Edit this page
View Source
SyncGpuTime
Gets the GPU time. Reserved. Always returns 0.
Declaration
public ulong SyncGpuTime { get; }
Property Value
|
Edit this page
View Source
SyncQpcTime
Gets a value that represents the high-resolution performance counter timer. This value is the same as the value returned by the QueryPerformanceCounter function.
Declaration
public ulong SyncQpcTime { get; }
Property Value
|
Edit this page
View Source
SyncRefreshCount
Gets a value that represents the running total count of v-blanks when the scheduler last sampled the machine time by calling QueryPerformanceCounter and that have happened since the computer booted (for windowed mode, since the swap chain was created).
Declaration
public uint SyncRefreshCount { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(DxgiFrameStatistics)
Declaration
public readonly bool Equals(DxgiFrameStatistics other)
Parameters
Returns
|
Edit this page
View Source
Equals(object?)
Declaration
public override readonly bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
NativeReadFrom(nint)
Declaration
public static DxgiFrameStatistics NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<DxgiFrameStatistics>)
Declaration
public static void NativeReadFrom(nint buffer, Span<DxgiFrameStatistics> objects)
Parameters
|
Edit this page
View Source
NativeRequiredSize()
Declaration
public static int NativeRequiredSize()
Returns
|
Edit this page
View Source
NativeRequiredSize(int)
Declaration
public static int NativeRequiredSize(int count)
Parameters
| Type |
Name |
Description |
| int |
count |
|
Returns
|
Edit this page
View Source
NativeWriteTo(nint, in DxgiFrameStatistics)
Declaration
public static void NativeWriteTo(nint buffer, in DxgiFrameStatistics obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<DxgiFrameStatistics>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<DxgiFrameStatistics> objects)
Parameters
|
Edit this page
View Source
ToString()
Returns a string that represents the current object.
Declaration
public override readonly string ToString()
Returns
| Type |
Description |
| string |
A string that represents the current object.
|
Overrides
Operators
|
Edit this page
View Source
operator ==(DxgiFrameStatistics, DxgiFrameStatistics)
Declaration
public static bool operator ==(DxgiFrameStatistics left, DxgiFrameStatistics right)
Parameters
Returns
|
Edit this page
View Source
operator !=(DxgiFrameStatistics, DxgiFrameStatistics)
Declaration
public static bool operator !=(DxgiFrameStatistics left, DxgiFrameStatistics right)
Parameters
Returns
Implements