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 D3D11Query
Declaration
public D3D11QueryDesc(D3D11QueryType query)
Parameters
Type | Name | Description |
---|---|---|
D3D11Query |
query | The type of query. |
D3D11QueryDesc(D3D11QueryType, D3D11QueryMiscOptions)
Initializes a new instance of the D3D11Query
Declaration
public D3D11QueryDesc(D3D11QueryType query, D3D11QueryMiscOptions miscOptions)
Parameters
Type | Name | Description |
---|---|---|
D3D11Query |
query | The type of query. |
D3D11Query |
miscOptions | Miscellaneous options. |
Properties
| Edit this page View SourceMiscOptions
Gets or sets miscellaneous options.
Declaration
public D3D11QueryMiscOptions MiscOptions { get; set; }
Property Value
Type | Description |
---|---|
D3D11Query |
Query
Gets or sets the type of query.
Declaration
public D3D11QueryType Query { get; set; }
Property Value
Type | Description |
---|---|
D3D11Query |
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 |
---|---|---|
D3D11Query |
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 D3D11Query
Declaration
public static bool operator ==(D3D11QueryDesc left, D3D11QueryDesc right)
Parameters
Type | Name | Description |
---|---|---|
D3D11Query |
left | The left D3D11Query |
D3D11Query |
right | The right D3D11Query |
Returns
Type | Description |
---|---|
bool |
operator !=(D3D11QueryDesc, D3D11QueryDesc)
Compares two D3D11Query
Declaration
public static bool operator !=(D3D11QueryDesc left, D3D11QueryDesc right)
Parameters
Type | Name | Description |
---|---|---|
D3D11Query |
left | The left D3D11Query |
D3D11Query |
right | The right D3D11Query |
Returns
Type | Description |
---|---|
bool |