IPixGpuCaptureOccupancyData::GetEventPoints method

Get per-event occupancy points for a type, event, and stage.

Syntax

HRESULT GetEventPoints(
    IPixGpuCaptureOccupancyType * occupancyType,
    IPixGpuCaptureOccupancyStage * stage,
    PIX_EVENT_INFO * event,
    UINT64 * count,
    const PIX_OCCUPANCY_POINT ** points);

Parameters

occupancyType [in]

The occupancy type to retrieve points for.

stage [in]

The pipeline stage to retrieve points for.

event [in]

The event to retrieve occupancy points for.

count [out]

The number of elements in the array returned by points.

points [out]

Receives a pointer to the array of occupancy points for the specified event. The array is owned by the interface and remains valid for the lifetime of this object.

Returns

S_OK if retrieving the points was successful, otherwise an error code.

See also