-
Notifications
You must be signed in to change notification settings - Fork 139
D3DX11DebugMute
Controls the output of diagnostic information in Debug builds. It has no effect in Release builds.
bool D3DX11DebugMute(bool mute);
This function is not present in the legacy DirectX SDK version of Effects 11.
#include "d3dx11effect.h"
mute: If set to false, debug output is suppressed. If set to true (the default), any diagnostic message is output to the debug window.
Returns the old value for the mute flag. This allows you to do local suppression and restore the previous state:
bool oldmute = D3DX11DebugMute(true);
...
D3DX11DebugMute(oldmute);
Note that unlike the D3DX9 version of this function (D3DXDebugMute
), this function does not attempt to suppress diagnostic output from Direct3D, DXGI, etc. You should continue to use the existing ID3D11InfoQueue
and IDXGIInfoQueue
interfaces for that.
All content and source code for this package are subject to the terms of the MIT License.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
- Windows desktop apps
- Windows 11
- Windows 10
- Windows 8.1
- Windows 7 Service Pack 1
- Visual Studio 2022
- Visual Studio 2019
- clang/LLVM v12 - v15
- CMake 3.20