Adds a user-defined message to the message queue and sends that message to the debug output.
public:
HRESULT AddApplicationMessage(
DXGI_INFO_QUEUE_MESSAGE_SEVERITY Severity,
LPCSTR pDescription
)
Severity
Type: DXGI_INFO_QUEUE_MESSAGE_SEVERITY
[in] A DXGI_INFO_QUEUE_MESSAGE_SEVERITY-typed value that specifies the severity of the message.
pDescription
Type: LPCSTR
[in] The message string.
Type: HRESULT
Returns S_OK if successful; an error code otherwise. For a list of error codes, see DXGI_ERROR.
Header: Declared in dxgidebug.h.
Library: Use d3d11.lib.