Struct D3D11CounterDesc
Describes a counter.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11CounterDesc : IEquatable<D3D11CounterDesc>
Constructors
| Edit this page View SourceD3D11CounterDesc(D3D11CounterType)
Initializes a new instance of the D3D11CounterDesc struct.
Declaration
public D3D11CounterDesc(D3D11CounterType counter)
Parameters
Type | Name | Description |
---|---|---|
D3D11CounterType | counter | The type of the counter. |
Properties
| Edit this page View SourceCounter
Gets or sets the type of the counter.
Declaration
public D3D11CounterType Counter { get; set; }
Property Value
Type | Description |
---|---|
D3D11CounterType |
Methods
| Edit this page View SourceEquals(D3D11CounterDesc)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(D3D11CounterDesc other)
Parameters
Type | Name | Description |
---|---|---|
D3D11CounterDesc | 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 ==(D3D11CounterDesc, D3D11CounterDesc)
Compares two D3D11CounterDesc objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(D3D11CounterDesc left, D3D11CounterDesc right)
Parameters
Type | Name | Description |
---|---|---|
D3D11CounterDesc | left | The left D3D11CounterDesc to compare. |
D3D11CounterDesc | right | The right D3D11CounterDesc to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(D3D11CounterDesc, D3D11CounterDesc)
Compares two D3D11CounterDesc objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(D3D11CounterDesc left, D3D11CounterDesc right)
Parameters
Type | Name | Description |
---|---|---|
D3D11CounterDesc | left | The left D3D11CounterDesc to compare. |
D3D11CounterDesc | right | The right D3D11CounterDesc to compare. |
Returns
Type | Description |
---|---|
bool |