ID3D12InfoQueue::AddApplicationMessage method

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

Syntax


HRESULT AddApplicationMessage(
  [in] D3D12_MESSAGE_SEVERITY Severity,
  [in] LPCSTR                 pDescription
);

Parameters

Severity [in]

Type: D3D12_MESSAGE_SEVERITY

Severity of a message.

pDescription [in]

Type: LPCSTR

Specifies the message string.

Return value

Type: HRESULT

This method returns one of the Direct3D 12 Return Codes.

Requirements

Header

D3d12sdklayers.h

See also

ID3D12InfoQueue

 

 

Show: