D3D11_CONTEXT_TYPE enumeration (d3d11_3.h)

Specifies the context in which a query occurs.

Syntax

typedef enum D3D11_CONTEXT_TYPE {
  D3D11_CONTEXT_TYPE_ALL = 0,
  D3D11_CONTEXT_TYPE_3D = 1,
  D3D11_CONTEXT_TYPE_COMPUTE = 2,
  D3D11_CONTEXT_TYPE_COPY = 3,
  D3D11_CONTEXT_TYPE_VIDEO = 4
} ;

Constants

 
D3D11_CONTEXT_TYPE_ALL
Value: 0
The query can occur in all contexts.
D3D11_CONTEXT_TYPE_3D
Value: 1
The query occurs in the context of a 3D command queue.
D3D11_CONTEXT_TYPE_COMPUTE
Value: 2
The query occurs in the context of a 3D compute queue.
D3D11_CONTEXT_TYPE_COPY
Value: 3
The query occurs in the context of a 3D copy queue.
D3D11_CONTEXT_TYPE_VIDEO
Value: 4
The query occurs in the context of video.

Remarks

This enum is used by the following:

Requirements

Requirement Value
Header d3d11_3.h

See also

Core Enumerations

D3D11_QUERY_DESC1