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