D3D11X_QUERY_DATA_GPU_SO_STATISTICS Structure

Query information about the amount of data streamed out to the stream-output buffers written to a buffer by WriteQuery with the D3D11_QUERY_SO_STATISTICS_STREAMn query type.

Syntax

typedef struct D3D11X_QUERY_DATA_GPU_SO_STATISTICS {
    UINT64 PrimitivesStorageNeeded;
    UINT64 NumPrimitivesWritten;
} D3D11X_QUERY_DATA_GPU_SO_STATISTICS;  

Members

PrimitivesStorageNeeded
Number of primitives that would have been written to the stream-output buffers if there had been enough space for them all.

NumPrimitivesWritten
Number of primitives (that is, points, lines, and triangles) written to the stream-output buffers.

Remarks

This structure contains query information about the amount of data streamed out to the stream-output buffers written to a buffer by ID3D11DeviceContextX::WriteQuery with the D3D11_QUERY_SO_STATISTICS_STREAMn query type. n is 0, 1, 2, or 3.

Requirements

Header: Declared in d3d11_x.h.