Represents a counter and provides convenience methods for creating counters.
struct CD3D11_COUNTER_DESC : public D3D11_COUNTER_DESC
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; }
};
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).