Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3D11_CONTEXT_TYPE enumeration

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
} D3D11_CONTEXT_TYPE;

Constants

D3D11_CONTEXT_TYPE_ALL

The query can occur in all contexts.

D3D11_CONTEXT_TYPE_3D

The query occurs in the context of a 3D command queue.

D3D11_CONTEXT_TYPE_COMPUTE

The query occurs in the context of a 3D compute queue.

D3D11_CONTEXT_TYPE_COPY

The query occurs in the context of a 3D copy queue.

D3D11_CONTEXT_TYPE_VIDEO

The query occurs in the context of video.

Remarks

This enum is used by the following:

Requirements

Header

D3D11_3.h

See also

Core Enumerations
D3D11_QUERY_DESC1

 

 

Show:
© 2017 Microsoft