Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Check to see if the draw pipeline state is valid.
Syntax
HRESULT ValidateContext(
[in] ID3D11DeviceContext *pContext
);
Parameters
[in] pContext
Type: ID3D11DeviceContext*
A pointer to the ID3D11DeviceContext, that represents a device context.
Return value
Type: HRESULT
This method returns one of the following Direct3D 11 Return Codes.
Remarks
Use validate prior to calling a draw method (for example, ID3D11DeviceContext::Draw); validation requires the debug layer.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3d11sdklayers.h |
| Library | D3D11.lib |