Export (0) Print
Expand All

ID3D11Debug interface

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

Members

The ID3D11Debug interface inherits from the IUnknown interface. ID3D11Debug also has these types of members:

Methods

The ID3D11Debug interface has these methods.

MethodDescription
GetFeatureMask

Get a bitfield of flags that indicates which debug features are on or off.

GetPresentPerRenderOpDelay

Get the number of milliseconds to sleep after IDXGISwapChain::Present is called.

GetSwapChain

Get the swap chain that the runtime will use for automatically calling IDXGISwapChain::Present.

ReportLiveDeviceObjects

Report information about a device object's lifetime.

SetFeatureMask

Set a bit field of flags that will turn debug features on and off.

SetPresentPerRenderOpDelay

Set the number of milliseconds to sleep after IDXGISwapChain::Present is called.

SetSwapChain

Sets a swap chain that the runtime will use for automatically calling IDXGISwapChain::Present.

ValidateContext

Check to see if the draw pipeline state is valid.

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 | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

D3D11SDKLayers.h

Library

D3D11.lib

See also

Layer Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft