// d3dumddi.h
typedef enum _D3DDDIQUERYTYPE {
D3DDDIQUERYTYPE_VCACHE,
D3DDDIQUERYTYPE_RESOURCEMANAGER,
D3DDDIQUERYTYPE_VERTEXSTATS,
D3DDDIQUERYTYPE_DDISTATS,
D3DDDIQUERYTYPE_EVENT,
D3DDDIQUERYTYPE_OCCLUSION,
D3DDDIQUERYTYPE_TIMESTAMP,
D3DDDIQUERYTYPE_TIMESTAMPDISJOINT,
D3DDDIQUERYTYPE_TIMESTAMPFREQ,
D3DDDIQUERYTYPE_PIPELINETIMINGS,
D3DDDIQUERYTYPE_INTERFACETIMINGS,
D3DDDIQUERYTYPE_VERTEXTIMINGS,
D3DDDIQUERYTYPE_PIXELTIMINGS,
D3DDDIQUERYTYPE_BANDWIDTHTIMINGS,
D3DDDIQUERYTYPE_CACHEUTILIZATION,
D3DDDIQUERYTYPE_COUNTER_DEVICE_DEPENDENT
} D3DDDIQUERYTYPE;
View the official Windows Driver Kit DDI referenceNo description available.
The query type.
D3DDDIQUERYTYPE_VCACHEQuery at issue end for driver hints about data layout for vertex caching. This query is processed through a call to the driver's IssueQuery function in which the End bit-field flag is set in the Flags member of the D3DDDIARG_ISSUEQUERY structure.
D3DDDIQUERYTYPE_RESOURCEMANAGERQuery the driver's resource manager.
D3DDDIQUERYTYPE_VERTEXSTATSQuery for the vertex stats.
D3DDDIQUERYTYPE_DDISTATSQuery for the DDI stats.
D3DDDIQUERYTYPE_EVENTQuery at issue end for asynchronous events that have occurred.
D3DDDIQUERYTYPE_OCCLUSIONQuery for the number of pixels that pass z-testing. These pixels are for primitives that are drawn between an issue begin and an issue end.
This query is processed between calls to the driver's IssueQuery function in which first the Begin bit-field flag is set in the Flags member of the D3DDDIARG_ISSUEQUERY structure and next the End bit-field flag is set.
This query enables an application to check the occlusion result against 0. A value of 0 is "fully occluded," which means the pixels are not visible from the current camera position.
D3DDDIQUERYTYPE_TIMESTAMPQuery at issue end for the 64-bit timestamp.
D3DDDIQUERYTYPE_TIMESTAMPDISJOINTThis query is used to notify an application whether the counter frequency has changed from the value that is returned from the D3DQUERYTYPE_TIMESTAMP query.
D3DDDIQUERYTYPE_TIMESTAMPFREQThe GPU timestamp frequency for resolving query timestamps.
This query result is TRUE if the values from D3DQUERYTYPE_TIMESTAMP queries cannot be guaranteed to be continuous throughout the duration of the D3DQUERYTYPE_TIMESTAMPDISJOINT query. Otherwise, the query result is FALSE.
D3DDDIQUERYTYPE_PIPELINETIMINGSQuery for the percent of processing time spent on pipeline data.
D3DDDIQUERYTYPE_INTERFACETIMINGSQuery for the percent of processing time spent on data in the driver.
D3DDDIQUERYTYPE_VERTEXTIMINGSQuery for the percent of processing time spent on vertex shader data.
D3DDDIQUERYTYPE_PIXELTIMINGSQuery for the percent of processing time spent on pixel shader data.
D3DDDIQUERYTYPE_BANDWIDTHTIMINGSQuery for throughput measurements for help in understanding the performance of an application.
D3DDDIQUERYTYPE_CACHEUTILIZATIONQuery for the cache hit-rate performance for textures and indexed vertices.
D3DDDIQUERYTYPE_COUNTER_DEVICE_DEPENDENTQuery for device-dependent counters.