Optional flags that control the behavior of ID3D11DeviceContext::GetData.
typedef enum D3D11_ASYNC_GETDATA_FLAG
{
D3D11_ASYNC_GETDATA_DONOTFLUSH = 0x1
} D3D11_ASYNC_GETDATA_FLAG;
| Constant | Description |
|---|---|
| D3D11_ASYNC_GETDATA_DONOTFLUSH | Do not flush the command buffer. This can potentially cause an infinite loop if GetData is continually called until it returns S_OK as there may still be commands in the command buffer that need to be processed in order for GetData to return S_OK. Since the commands in the command buffer are not flushed they will not be processed and therefore GetData will never return S_OK. |
These enumeration constants are used by the method ID3D11DeviceContext::GetData and by the Xbox-specific method ID3D11DeviceContextX::GetCounterData.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).