ID3D12InfoQueue::AddApplicationMessage method

Adds a user-defined message to the message queue and sends that message to debug output.

Syntax

HRESULT AddApplicationMessage(
  D3D12_MESSAGE_SEVERITY Severity,
  LPCSTR                 pDescription
);

Parameters

Severity

Type: D3D12_MESSAGE_SEVERITY

Severity of a message.

pDescription

Type: LPCSTR

Specifies the message string.

Return Value

Type: HRESULT

This method returns one of the Direct3D 12 Return Codes.

Requirements

   
Target Platform Windows
Header d3d12sdklayers.h

See Also

ID3D12InfoQueue