Struct D3D11CounterInfo
Information about the video card's performance counter capabilities.
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11CounterInfo : IEquatable<D3D11CounterInfo>
Properties
|
Edit this page
View Source
LastDeviceDependantCounter
Gets the largest device-dependent counter ID that the device supports. If none are supported, this value will be 0.
Declaration
public D3D11CounterType LastDeviceDependantCounter { get; }
Property Value
|
Edit this page
View Source
NumDetectableParallelUnits
Gets the number of detectable parallel units that the counter is able to discern. Values are 1 ~ 4.
Declaration
public byte NumDetectableParallelUnits { get; }
Property Value
|
Edit this page
View Source
NumSimultaneousCounters
Gets the number of counters that can be simultaneously supported.
Declaration
public uint NumSimultaneousCounters { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(D3D11CounterInfo)
Declaration
public readonly bool Equals(D3D11CounterInfo 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 D3D11CounterInfo NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D3D11CounterInfo>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D3D11CounterInfo> 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 D3D11CounterInfo)
Declaration
public static void NativeWriteTo(nint buffer, in D3D11CounterInfo obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D3D11CounterInfo>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D3D11CounterInfo> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D3D11CounterInfo, D3D11CounterInfo)
Declaration
public static bool operator ==(D3D11CounterInfo left, D3D11CounterInfo right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D3D11CounterInfo, D3D11CounterInfo)
Declaration
public static bool operator !=(D3D11CounterInfo left, D3D11CounterInfo right)
Parameters
Returns
Implements