Struct D3D11CounterInfo
Information about the video card's performance counter capabilities.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11CounterInfo : IEquatable<D3D11CounterInfo>
Properties
| Edit this page View SourceLastDeviceDependantCounter
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
Type | Description |
---|---|
D3D11CounterType |
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
Type | Description |
---|---|
byte |
NumSimultaneousCounters
Gets the number of counters that can be simultaneously supported.
Declaration
public uint NumSimultaneousCounters { get; }
Property Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceEquals(D3D11CounterInfo)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(D3D11CounterInfo other)
Parameters
Type | Name | Description |
---|---|---|
D3D11CounterInfo | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
| Edit this page View Sourceoperator ==(D3D11CounterInfo, D3D11CounterInfo)
Compares two D3D11CounterInfo objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(D3D11CounterInfo left, D3D11CounterInfo right)
Parameters
Type | Name | Description |
---|---|---|
D3D11CounterInfo | left | The left D3D11CounterInfo to compare. |
D3D11CounterInfo | right | The right D3D11CounterInfo to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(D3D11CounterInfo, D3D11CounterInfo)
Compares two D3D11CounterInfo objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(D3D11CounterInfo left, D3D11CounterInfo right)
Parameters
Type | Name | Description |
---|---|---|
D3D11CounterInfo | left | The left D3D11CounterInfo to compare. |
D3D11CounterInfo | right | The right D3D11CounterInfo to compare. |
Returns
Type | Description |
---|---|
bool |