Struct GorgonTimestampDisjointResult
The result from a GorgonTimestampDisjointQuery.
Implements
Inherited Members
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public readonly struct GorgonTimestampDisjointResult : IGorgonEquatableByRef<GorgonTimestampDisjointResult>, IEquatable<GorgonTimestampDisjointResult>
Fields
| Edit this page View SourceFrequency
The frequency that the counter increments at, in Hz.
Declaration
public readonly ulong Frequency
Field Value
Type | Description |
---|---|
ulong |
IsDisjoint
Flag to indicate that the timestamp is disjointed.
Declaration
public readonly bool IsDisjoint
Field Value
Type | Description |
---|---|
bool |
Remarks
If this is true, something occurred in between the GorgonTimestampDisjointQuery Begin and End calls that caused the timestamp counter to become discontinuous or disjoint, such as unplugging the AC cord on a laptop, overheating, or throttling up/down due to laptop savings events. The timestamp returned for a timestamp query is only reliable if Disjoint is false.
Methods
| Edit this page View SourceEquals(GorgonTimestampDisjointResult)
Function to compare this instance with another.
Declaration
public bool Equals(GorgonTimestampDisjointResult other)
Parameters
Type | Name | Description |
---|---|---|
GorgonTimestampDisjointResult | other | The other instance to use for comparison. |
Returns
Type | Description |
---|---|
bool | true if equal, false if not. |
Equals(in GorgonTimestampDisjointResult)
Function to compare this instance with another.
Declaration
public bool Equals(in GorgonTimestampDisjointResult other)
Parameters
Type | Name | Description |
---|---|---|
GorgonTimestampDisjointResult | other | The other instance to use for comparison. |
Returns
Type | Description |
---|---|
bool | true if equal, false if not. |
Equals(object)
Determines whether the specified object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current instance. |
Returns
Type | Description |
---|---|
bool |
|
Overrides
| Edit this page View SourceGetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
| Edit this page View SourceToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents this instance. |