IDMLDebugDevice::SetMuteDebugOutput 方法 (directml.h)

确定是否将 DirectML 静音,以便将消息发送到 ID3D12InfoQueue

语法

void SetMuteDebugOutput(
  BOOL mute
);

参数

mute

类型: BOOL

如果 为 TRUE,则 DirectML 处于静音状态,并且不会将消息发送到 ID3D12InfoQueue。 如果 为 FALSE,则 DirectML 不会静音,它会将消息发送到 ID3D12InfoQueue。 默认值为 FALSE

返回值

要求

要求
目标平台 Windows
标头 directml.h
Library DirectML.lib
DLL DirectML.dll

另请参阅

IDMLDebugDevice