QueryType Enumeration (Microsoft.DirectX.Direct3D)
Defines the query type.
Definition
Visual Basic Public Enum QueryType C# public enum QueryType C++ public enum class QueryType JScript public enum QueryType
Members
Member Value Description Event 8 Queries for any asynchronous events issued from application programming interface (API) calls. CacheUtilization 18 Queries for the cache hit rate performance measurement for textures and indexed vertices. BandwidthTimings 17 Queries throughput measurement comparisons for help in understanding the performance of an application. PixelTimings 16 Queries for the percentage of time spent processing pixel shader data. VertexTimings 15 Queries for the percentage of time spent processing vertex shader data. InterfaceTimings 14 Queries for the percentage of time spent processing data in the driver. PipelineTimings 13 Queries for the percentage of time spent processing pipeline data. TimeStampFrequency 12 This query result is true if the values from TimeStamp queries cannot be guarenteed to be continuous throughout the duration of the TimeStampDisjoint query. Otherwise, the query result is false. TimeStampDisjoint 11 This query notifies an application if the counter frequency has changed from the TimeStamp. TimeStamp 10 Returns a 64-bit timestamp. Occlusion 9 Queries for the number of pixels that pass z-testing. These pixels are for primitives drawn between Begin and End. This option enables an application to check the occlusion result against zero. Zero is fully occluded, which means the pixels are not visible from the current camera position. VertexStats 6 Queries vertex statistics. For more information, see VertexStats. VertexCache 4 Queries for driver hints about data layout for vertex caching. ResourceManager 5 Queries the resource manager. For more information, see ResourceManager.
Remarks
Available query types are given in the following table.
QueryType Valid issue flag GetData buffer Runtime Implicit beginning of query VertexCache End VertexCache Retail/Debug Device ResourceManager End ResourceManager Debug only Present VertexStats End VertexStats Debug only Present Occlusion End Boolean Retail/Debug Device Event Begin, End UInt32 Retail/Debug Not applicable For a ResourceManager query, the device behavior flags must include CreateFlags.DisableDriverManagement.
Enumeration Information
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll) Strong Name Microsoft.DirectX.Direct3D, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492
See Also