Skip to main content
Describes query data about the amount of data streamed out to the stream-output buffers.

Syntax

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

Header: d3d12_xs.h or d3d12_x.h
Library: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family

See Also

Last modified on August 20, 2026