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 D3D11Counter
Declaration
public D3D11CounterDesc(D3D11CounterType counter)
Parameters
Type | Name | Description |
---|---|---|
D3D11Counter |
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 |
---|---|
D3D11Counter |
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 |
---|---|---|
D3D11Counter |
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 D3D11Counter
Declaration
public static bool operator ==(D3D11CounterDesc left, D3D11CounterDesc right)
Parameters
Type | Name | Description |
---|---|---|
D3D11Counter |
left | The left D3D11Counter |
D3D11Counter |
right | The right D3D11Counter |
Returns
Type | Description |
---|---|
bool |
operator !=(D3D11CounterDesc, D3D11CounterDesc)
Compares two D3D11Counter
Declaration
public static bool operator !=(D3D11CounterDesc left, D3D11CounterDesc right)
Parameters
Type | Name | Description |
---|---|---|
D3D11Counter |
left | The left D3D11Counter |
D3D11Counter |
right | The right D3D11Counter |
Returns
Type | Description |
---|---|
bool |