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:
- D3D11_QUERY_DESC1 structure
- A CD3D11_QUERY_DESC1 constructor.
- ID3D11DeviceContext3::Flush1 method
Requirements
Requirement | Value |
---|---|
Header | d3d11_3.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for