Verifies whether the dispatch pipeline state is valid.
public:
HRESULT ValidateContextForDispatch(
ID3D11DeviceContext *pContext
)
pContext
Type: ID3D11DeviceContext *
[in] A pointer to the ID3D11DeviceContext that represents a device context.
Type: HRESULT
This method returns one of the return codes described in the topic Direct3D 11 return codes.
Use this method before you call a dispatch method (for example, ID3D11DeviceContext::Dispatch). Validation requires the debug layer.
Header: Declared in d3d11sdklayers.h.
Library: Use d3d11.lib.