A debug message in the Information Queue.
typedef struct D3D11_MESSAGE {
D3D11_MESSAGE_CATEGORY Category;
D3D11_MESSAGE_SEVERITY Severity;
D3D11_MESSAGE_ID ID;
char *pDescription;
SIZE_T DescriptionByteLength;
} D3D11_MESSAGE;
Category
The category of the message. See D3D11_MESSAGE_CATEGORY.
Severity
The severity of the message. See D3D11_MESSAGE_SEVERITY.
ID
The ID of the message. See D3D11_MESSAGE_ID.
pDescription
The message string.
DescriptionByteLength
The length of pDescription in bytes.
This structure is returned from ID3D11InfoQueue::GetMessage as part of the Information Queue feature (see ID3D11InfoQueue Interface).
Header: Declared in d3d11sdklayers.h.
Library: Use d3d11.lib.