ID3D11Debug interface

A debug interface controls debug settings, validates pipeline state and can only be used if the debug layer is turned on.

Methods

The ID3D11Debug interface has these methods.

Method Description
ID3D11Debug::GetFeatureMask Get a bitfield of flags that indicates which debug features are on or off.
ID3D11Debug::GetPresentPerRenderOpDelay Get the number of milliseconds to sleep after IDXGISwapChain::Present is called.
ID3D11Debug::GetSwapChain Get the swap chain that the runtime will use for automatically calling IDXGISwapChain::Present.
ID3D11Debug::ReportLiveDeviceObjects Report information about a device object's lifetime.
ID3D11Debug::SetFeatureMask Set a bit field of flags that will turn debug features on and off.
ID3D11Debug::SetPresentPerRenderOpDelay Set the number of milliseconds to sleep after IDXGISwapChain::Present is called.
ID3D11Debug::SetSwapChain Sets a swap chain that the runtime will use for automatically calling IDXGISwapChain::Present.
ID3D11Debug::ValidateContext Check to see if the draw pipeline state is valid.
ID3D11Debug::ValidateContextForDispatch Verifies whether the dispatch pipeline state is valid.

Remarks

This interface is obtained by querying it from the ID3D11Device using IUnknown::QueryInterface.

For more information about the debug layer, see Debug Layer.

Windows Phone 8: This API is supported.

Requirements

   
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11sdklayers.h

See Also

IUnknown

Layer Interfaces