Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D10Debug::SetFeatureMask method

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

Syntax


HRESULT SetFeatureMask(
  [in] UINT Mask
);

Parameters

Mask [in]

Type: UINT

Feature-mask flags bitwise ORed together. If a flag is present, then that feature will be set to on, otherwise the feature will be set to off. See remarks for a list of flags.

Return value

Type: HRESULT

This method returns one of the following Direct3D 10 Return Codes.

Remarks

Note  If you call this API in a Session 0 process, it returns DXGI_ERROR_NOT_CURRENTLY_AVAILABLE.
 

Setting a feature-mask flag will cause a rendering-operation method (listed below) to do some extra task when called. The possible feature flags are:

D3D10_DEBUG_FEATURE_FINISH_PER_RENDER_OPApplication will wait for the GPU to finish processing the rendering operation before continuing.
D3D10_DEBUG_FEATURE_FLUSH_PER_RENDER_OPRuntime will additionally call ID3D10Device::Flush.
D3D10_DEBUG_FEATURE_PRESENT_PER_RENDER_OPRuntime will call Present. Presentation of render buffers will occur according to the settings established by prior calls to ID3D10Debug::SetSwapChain and ID3D10Debug::SetPresentPerRenderOpDelay.

 

These feature-mask flags apply to the following rendering-operation methods:

Requirements

Header

D3D10SDKLayers.h

See also

ID3D10Debug Interface

 

 

Show:
© 2017 Microsoft