Executes a series of calls to ExecuteCommandList without the overhead of saving state for each call.
public:
void BeginCommandListExecution(
UINT Flags
)
Flags
Type: UINTÂ
[in] This must be zero, which specifies to use the default functionality for saving and restoring state.
If you have a series of calls to ID3D11DeviceContext::ExecuteCommandList, to avoid the overhead of saving state between each call, wrap the calls between calls to BeginCommandListExecution and EndCommandListExecution.
Also, on each call of ExecuteCommandList, the RestoreContextState boolean parameter must be set to false.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).