Creates a set of performance counters.
public:
HRESULT CreateCounterSet(
const D3D11X_COUNTER_SET_DESC *pCounterSetDesc,
ID3D11CounterSetX **ppCounterSet
)
pCounterSetDesc
Type: D3D11X_COUNTER_SET_DESC *
[in] Description of the set of counters, as a pointer to D3D11X_COUNTER_SET_DESC.
ppCounterSet
Type: ID3D11CounterSetX **
[out, optional] The set of counters, as a pointer to a pointer to ID3D11CounterSetX.
Type: HRESULT
One of the Direct3D 11 return codes.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.