ID3D11Debug::SetFeatureMask Method

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

Syntax

HRESULT SetFeatureMask(
  [in]  UINT Mask
);

Parameter

Mask [in]

Typ: UINT

A combination of feature-mask flags that are combined by using a bitwise OR operation. If a flag is present, that feature will be set to on, otherwise the feature will be set to off. For descriptions of the feature-mask flags, see Remarks.

Rückgabewert

Typ: HRESULT

This method returns one of the Direct3D 11 Return Codes.

Hinweise

Setting one of the following feature-mask flags will cause a rendering-operation method (listed below) to do some extra task when called.

D3D11_DEBUG_FEATURE_FINISH_PER_RENDER_OP (0x2)Application will wait for the GPU to finish processing the rendering operation before continuing.
D3D11_DEBUG_FEATURE_FLUSH_PER_RENDER_OP (0x1)Runtime will additionally call ID3D11DeviceContext::Flush.
D3D11_DEBUG_FEATURE_PRESENT_PER_RENDER_OP (0x4)Runtime will call IDXGISwapChain::Present. Presentation of render buffers will occur according to the settings established by prior calls to ID3D11Debug::SetSwapChain and ID3D11Debug::SetPresentPerRenderOpDelay.

 

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

Anforderungen

Header

D3D11SDKLayers.h

Bibliothek

D3D11.lib

Siehe auch

ID3D11Debug Interface

 

 

Anzeigen: