IPixGpuCaptureCounterData::HasEventData method

Checks if counter value exists for a specified event. Not all events have counter data, such as non-GPU work.

Syntax

BOOL HasEventData(
    PIX_GPU_COUNTER_ID counterId,
    PIX_EVENT_INFO * event);

Parameters

counterId [in]

The counter id to retrieve values for.

event [in]

The event to check.

Returns

TRUE if counter value is present for the event, otherwise FALSE.

See also