Query information about the amount of data streamed out to the stream-output buffers in between ID3D11DeviceContext::Begin and ID3D11DeviceContext::End.
typedef struct D3D11_QUERY_DATA_SO_STATISTICS {
UINT64 NumPrimitivesWritten;
UINT64 PrimitivesStorageNeeded;
} D3D11_QUERY_DATA_SO_STATISTICS;
NumPrimitivesWritten
Number of primitives (that is, points, lines, and triangles) written to the stream-output buffers.
PrimitivesStorageNeeded
Number of primitives that would have been written to the stream-output buffers if there had been enough space for them all.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).