D3D11_MESSAGE_SEVERITY Enumeration

Debug message severity levels for an information queue.

Syntax

typedef enum D3D11_MESSAGE_SEVERITY
{
    D3D11_MESSAGE_SEVERITY_CORRUPTION = 0,
    D3D11_MESSAGE_SEVERITY_ERROR,
    D3D11_MESSAGE_SEVERITY_WARNING,
    D3D11_MESSAGE_SEVERITY_INFO,
    D3D11_MESSAGE_SEVERITY_MESSAGE
} D3D11_MESSAGE_SEVERITY;  

Constants

Constant Description
D3D11_MESSAGE_SEVERITY_CORRUPTIONDefines some type of corruption which has occurred.
D3D11_MESSAGE_SEVERITY_ERRORDefines an error message.
D3D11_MESSAGE_SEVERITY_WARNINGDefines a warning message.
D3D11_MESSAGE_SEVERITY_INFODefines an information message.
D3D11_MESSAGE_SEVERITY_MESSAGE Defines a message other than corruption, error, warning, or information.

Direct 3D 11

Note
This value is not supported until Direct3D 11.1.

Remarks

Use these values to allow or deny message categories to pass through the storage and retrieval filters for an information queue (see D3D11_INFO_QUEUE_FILTER). This API is used by ID3D11InfoQueue::AddApplicationMessage.

Requirements

Header: Declared in d3d11sdklayers.h.

Library: Use d3d11.lib.