D3D12DDI_QUERY_TYPE enumeration (d3d12umddi.h)
A D3D12DDI_QUERY_TYPE enum value identifies the type of a query.
Syntax
typedef enum D3D12DDI_QUERY_TYPE {
D3D12DDI_QUERY_TYPE_OCCLUSION = 0,
D3D12DDI_QUERY_TYPE_BINARY_OCCLUSION = 1,
D3D12DDI_QUERY_TYPE_TIMESTAMP = 2,
D3D12DDI_QUERY_TYPE_PIPELINE_STATISTICS = 3,
D3D12DDI_QUERY_TYPE_SO_STATISTICS_STREAM0 = 4,
D3D12DDI_QUERY_TYPE_SO_STATISTICS_STREAM1 = 5,
D3D12DDI_QUERY_TYPE_SO_STATISTICS_STREAM2 = 6,
D3D12DDI_QUERY_TYPE_SO_STATISTICS_STREAM3 = 7,
D3D12DDI_QUERY_TYPE_0020_VIDEO_DECODE_STATISTICS = 8,
D3D12DDI_QUERY_TYPE_PIPELINE_STATISTICS1 = 10
} ;
Constants
D3D12DDI_QUERY_TYPE_OCCLUSION Value: 0 The query is for depth/stencil occlusion counts. |
D3D12DDI_QUERY_TYPE_BINARY_OCCLUSION Value: 1 The query is for a binary depth/stencil occlusion statistics. This query type acts like D3D12DDI_QUERY_TYPE_OCCLUSION except that it returns simply a binary 0/1 result: 0 indicates that no samples passed depth and stencil testing, 1 indicates that at least one sample passed depth and stencil testing. This enables occlusion queries to not interfere with any GPU performance optimization associated with depth/stencil testing. |
D3D12DDI_QUERY_TYPE_TIMESTAMP Value: 2 The query is for high definition GPU and CPU timestamps. |
D3D12DDI_QUERY_TYPE_PIPELINE_STATISTICS Value: 3 The query type is for pre-D3D12 graphics pipeline statistics. See D3D11_DDI_QUERY_DATA_PIPELINE_STATISTICS. |
D3D12DDI_QUERY_TYPE_SO_STATISTICS_STREAM0 Value: 4 The query type is for stream output (SO) statistics for Stream0. Stream output is the ability of the GPU to write vertices to a buffer. The stream output counters monitor progress. See D3D10_DDI_QUERY_DATA_SO_STATISTICS |
D3D12DDI_QUERY_TYPE_SO_STATISTICS_STREAM1 Value: 5 The query type is for SO statistics for Stream1. |
D3D12DDI_QUERY_TYPE_SO_STATISTICS_STREAM2 Value: 6 The query type is for SO statistics for Stream2. |
D3D12DDI_QUERY_TYPE_SO_STATISTICS_STREAM3 Value: 7 The query type is for SO statistics for Stream3. |
D3D12DDI_QUERY_TYPE_0020_VIDEO_DECODE_STATISTICS Value: 8 The query type is for video decode statistics. See D3D12DDI_QUERY_DATA_VIDEO_DECODE_STATISTICS_0022. |
D3D12DDI_QUERY_TYPE_PIPELINE_STATISTICS1 Value: 10 The query type is for graphics pipeline statistics. See **D3D12DDI_QUERY_DATA_PIPELINE_STATISTICS1 **. |
Remarks
Queries are used to capture information from the GPU, such as statistics and status codes which can later be consumed directly on the GPU or on CPU.
Requirements
Requirement | Value |
---|---|
Header | d3d12umddi.h (include D3d12umddi.h) |