次の方法で共有


CD3D11_COUNTER_DESC class

Represents a counter and provides convenience methods for creating counters.

Members

The CD3D11_COUNTER_DESC class inherits from D3D11_COUNTER_DESC. CD3D11_COUNTER_DESC also has these types of members:

  • Constructors
  • Methods

Constructors

The CD3D11_COUNTER_DESC class has these constructors.

Constructor Description
CD3D11_COUNTER_DESC()

Instantiates a new instance of an uninitialized CD3D11_COUNTER_DESC structure.

CD3D11_COUNTER_DESC(D3D11_COUNTER_DESC_values)(D3D11_COUNTER,UINT)

Instantiates a new instance of a CD3D11_COUNTER_DESC structure that is initialized with info for a counter.

 

Methods

The CD3D11_COUNTER_DESC class has these methods.

Method Description
~CD3D11_COUNTER_DESC()

Destroys an instance of a CD3D11_COUNTER_DESC structure.

CD3D11_COUNTER_DESC(D3D11_COUNTER_DESC)(const &D3D11_COUNTER_DESC)

Instantiates a new instance of a CD3D11_COUNTER_DESC structure that is initialized with a D3D11_COUNTER_DESC structure.

D3D11_COUNTER_DESC()

This operator returns the address of a D3D11_COUNTER_DESC structure that contains the data from the CD3D11_COUNTER_DESC instance.

 

Remarks

Here is how D3D11.h defines CD3D11_COUNTER_DESC:


struct CD3D11_COUNTER_DESC : public D3D11_COUNTER_DESC
{
    CD3D11_COUNTER_DESC()
    {}
    explicit CD3D11_COUNTER_DESC( const D3D11_COUNTER_DESC& o ) :
        D3D11_COUNTER_DESC( o )
    {}
    explicit CD3D11_COUNTER_DESC(
        D3D11_COUNTER counter,
        UINT miscFlags = 0 )
    {
        Counter = counter;
        MiscFlags = miscFlags;
    }
    ~CD3D11_COUNTER_DESC() {}
    operator const D3D11_COUNTER_DESC&() const { return *this; }
};

Requirements

Minimum supported client

Windows 7 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | UWP apps]

Header

D3D11.h

Library

D3D11.lib

See also

D3D11_COUNTER_DESC

CD3D11 Helper Structures