ID3D10Counter interface

This interface encapsulates methods for measuring GPU performance.

Members

The ID3D10Counter interface inherits from ID3D10Asynchronous. ID3D10Counter also has these types of members:

Methods

The ID3D10Counter interface has these methods.

MethodDescription
GetDesc

Get a counter description.

 

Remarks

A counter can be created with ID3D10Device::CreateCounter.

This is a derived class of ID3D10Asynchronous Interface.

Counter data is gathered by issuing an ID3D10Asynchronous::Begin command, issuing some graphics commands, issuing an ID3D10Asynchronous::End command, and then calling ID3D10Asynchronous::GetData to get data about what happened in between the Begin and End calls. The data returned by GetData will be different depending on the type of counter. The call to End causes the data returned by GetData to be accurate up until the last call to End.

Counters are best suited for profiling.

For a list of the types of performance counters, see D3D10_COUNTER.

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

Core Interfaces

 

 

Community Additions

ADD
Show:
© 2015 Microsoft