D3D11_MESSAGE_CATEGORY Enumeration

Categories of debug messages. This will identify the category of a message when retrieving a message with ID3D11InfoQueue::GetMessage and when adding a message with ID3D11InfoQueue::AddMessage. When creating an info queue filter, these values can be used to allow or deny any categories of messages to pass through the storage and retrieval filters.

Syntax

typedef enum D3D11_MESSAGE_CATEGORY
{
    D3D11_MESSAGE_CATEGORY_APPLICATION_DEFINED,
    D3D11_MESSAGE_CATEGORY_MISCELLANEOUS,
    D3D11_MESSAGE_CATEGORY_INITIALIZATION,
    D3D11_MESSAGE_CATEGORY_CLEANUP,
    D3D11_MESSAGE_CATEGORY_COMPILATION,
    D3D11_MESSAGE_CATEGORY_STATE_CREATION,
    D3D11_MESSAGE_CATEGORY_STATE_SETTING,
    D3D11_MESSAGE_CATEGORY_STATE_GETTING,
    D3D11_MESSAGE_CATEGORY_RESOURCE_MANIPULATION,
    D3D11_MESSAGE_CATEGORY_EXECUTION,
    D3D11_MESSAGE_CATEGORY_SHADER
} D3D11_MESSAGE_CATEGORY;  

Constants

Constant Description
D3D11_MESSAGE_CATEGORY_APPLICATION_DEFINEDUser defined message. See ID3D11InfoQueue::AddMessage.
D3D11_MESSAGE_CATEGORY_MISCELLANEOUS 
D3D11_MESSAGE_CATEGORY_INITIALIZATION 
D3D11_MESSAGE_CATEGORY_CLEANUP 
D3D11_MESSAGE_CATEGORY_COMPILATION 
D3D11_MESSAGE_CATEGORY_STATE_CREATION 
D3D11_MESSAGE_CATEGORY_STATE_SETTING 
D3D11_MESSAGE_CATEGORY_STATE_GETTING 
D3D11_MESSAGE_CATEGORY_RESOURCE_MANIPULATION 
D3D11_MESSAGE_CATEGORY_EXECUTION 
D3D11_MESSAGE_CATEGORY_SHADER

Direct 3D 11

Note
This value is not supported until Direct3D 11.1.

Remarks

This is part of the Information Queue feature. See ID3D11InfoQueue Interface.

Requirements

Header: Declared in d3d11sdklayers.h.

Library: Use d3d11.lib.