CD3D11_QUERY_DESC structure (d3d11.h)

Represents a query and provides convenience methods for creating queries.

Syntax

struct CD3D11_QUERY_DESC : D3D11_QUERY_DESC {
  void CD3D11_QUERY_DESC();
  void CD3D11_QUERY_DESC(
    const D3D11_QUERY_DESC & o
  );
  void CD3D11_QUERY_DESC(
    D3D11_QUERY query,
    UINT        miscFlags
  );
  void ~CD3D11_QUERY_DESC();
};

Inheritance

The CD3D11_QUERY_DESC structure implements D3D11_QUERY_DESC.

Members

void CD3D11_QUERY_DESC()

Instantiates a new instance of an uninitialized CD3D11_QUERY_DESC structure.

void CD3D11_QUERY_DESC( const D3D11_QUERY_DESC & o)

Instantiates a new instance of a CD3D11_QUERY_DESC structure that is initialized with a D3D11_QUERY_DESC structure.

void CD3D11_QUERY_DESC( D3D11_QUERY query, UINT miscFlags)

Instantiates a new instance of a CD3D11_QUERY_DESC structure that is initialized with info for a query.

void ~CD3D11_QUERY_DESC()

Destroys an instance of a CD3D11_QUERY_DESC structure.

Remarks

Here is how D3D11.h defines CD3D11_QUERY_DESC:

struct CD3D11_QUERY_DESC : public D3D11_QUERY_DESC
{
    CD3D11_QUERY_DESC()
    {}
    explicit CD3D11_QUERY_DESC( const D3D11_QUERY_DESC& o ) :
        D3D11_QUERY_DESC( o )
    {}
    explicit CD3D11_QUERY_DESC(
        D3D11_QUERY query,
        UINT miscFlags = 0 )
    {
        Query = query;
        MiscFlags = miscFlags;
    }
    ~CD3D11_QUERY_DESC() {}
    operator const D3D11_QUERY_DESC&() const { return *this; }
};

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Header d3d11.h

See also

CD3D11 Helper Structures