Add a user-defined message to the message queue and send that message to debug output.
public:
HRESULT AddApplicationMessage(
D3D11_MESSAGE_SEVERITY Severity,
LPCSTR pDescription
)
Severity
Type: D3D11_MESSAGE_SEVERITY
[in] Severity of a message (see D3D11_MESSAGE_SEVERITY).
pDescription
Type: LPCSTR
[in] Message string.
Type: HRESULT
This method returns one of the following Direct3D 11 return codes.
Header: Declared in d3d11sdklayers.h.
Library: Use d3d11.lib.