D3D12_QUERY_DATA_SO_STATISTICS structure (d3d12.h)
Describes query data about the amount of data streamed out to the stream-output buffers.
Syntax
typedef struct D3D12_QUERY_DATA_SO_STATISTICS {
UINT64 NumPrimitivesWritten;
UINT64 PrimitivesStorageNeeded;
} D3D12_QUERY_DATA_SO_STATISTICS;
Members
NumPrimitivesWritten
Type: UINT64
The number of primitives (that is, points, lines, and triangles) that were actually written to the stream output resource.
PrimitivesStorageNeeded
Type: UINT64
If the stream output resource is large enough, then PrimitivesStorageNeeded represents the total number of primitives written to the stream output resource. Otherwise, it represents the total number of primitives that would have been written to the stream-output resource had there been enough space for them all.
Remarks
Use this structure with D3D12_QUERY_HEAP_TYPE and CreateQueryHeap.
Requirements
Requirement | Value |
---|---|
Header | d3d12.h |