Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::QueryDataPipelineStatistics Struct Reference

Pipeline statistics query data. More...

#include <Query.h>

Public Attributes

enum QUERY_TYPE Type = QUERY_TYPE_PIPELINE_STATISTICS
 Query type - must be Diligent::QUERY_TYPE_PIPELINE_STATISTICS.
 
Uint64 InputVertices = 0
 Number of vertices processed by the input assembler stage.
 
Uint64 InputPrimitives = 0
 Number of primitives processed by the input assembler stage.
 
Uint64 GSPrimitives = 0
 Number of primitives output by a geometry shader.
 
Uint64 ClippingInvocations = 0
 Number of primitives that were sent to the clipping stage.
 
Uint64 ClippingPrimitives = 0
 
Uint64 VSInvocations = 0
 Number of times a vertex shader was invoked.
 
Uint64 GSInvocations = 0
 Number of times a geometry shader was invoked.
 
Uint64 PSInvocations = 0
 Number of times a pixel shader shader was invoked.
 
Uint64 HSInvocations = 0
 Number of times a hull shader shader was invoked.
 
Uint64 DSInvocations = 0
 Number of times a domain shader shader was invoked.
 
Uint64 CSInvocations = 0
 Number of times a compute shader was invoked.
 

Detailed Description

Pipeline statistics query data.

This structure is filled by IQuery::GetData() for Diligent::QUERY_TYPE_PIPELINE_STATISTICS query type.

Warning
In OpenGL backend the only field that will be populated is ClippingInvocations.

Member Data Documentation

◆ ClippingPrimitives

Uint64 Diligent::QueryDataPipelineStatistics::ClippingPrimitives = 0

Number of primitives that were output by the clipping stage and were rendered. This may be larger or smaller than ClippingInvocations because after a primitive is clipped sometimes it is either broken up into more than one primitive or completely culled.