Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enable or disable debug messages.
Syntax
HRESULT D3DX10DebugMute(
_In_ BOOL Mute
);
Parameters
-
Mute [in]
-
Type: BOOL
Set to TRUE to enable debug messages; set to FALSE to disable debug messages.
Return value
Type: HRESULT
The return value is one of the values listed in Direct3D 10 Return Codes.
Remarks
Use this function to disable error messages for D3DX10 APIs during debug; the use of this function should be guarded by the D3D10_DEBUG compiler switch.
#ifdef D3D10_DEBUG
BOOL WINAPI D3DX10DebugMute(BOOL Mute);
#endif
The default state is TRUE for a debug build.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also