ID3D11DeviceX::SetDriverHint Method

Sets hints for the performance monitoring driver, such as whether to enable or disable recording memory statistics. Changes the state of the internal driver for performance monitoring. This method is primarily for debugging.

Syntax

public:
HRESULT SetDriverHint(
         UINT Feature,
         UINT Value
)  

Parameters

Feature
Type: UINT 

[in] A feature to set a hint for, such as tracking of memory statistics. An XBOX_DRIVER_HINT enumeration constant.

Value
Type: UINT 

[in] Value of the hint for the feature. 1 indicates that the driver should enable the feature; 0 indicates that the driver should not enable the feature.

Return value

Type: HRESULT 

One of the Direct3D 11 return codes.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceX Interface

ID3D11DeviceX Members