D3D12_MESSAGE_CATEGORY enumeration (d3d12sdklayers.h)

Specifies categories of debug messages. This will identify the category of a message when retrieving a message with ID3D12InfoQueue::GetMessage and when adding a message with ID3D12InfoQueue::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 D3D12_MESSAGE_CATEGORY {
  D3D12_MESSAGE_CATEGORY_APPLICATION_DEFINED = 0,
  D3D12_MESSAGE_CATEGORY_MISCELLANEOUS,
  D3D12_MESSAGE_CATEGORY_INITIALIZATION,
  D3D12_MESSAGE_CATEGORY_CLEANUP,
  D3D12_MESSAGE_CATEGORY_COMPILATION,
  D3D12_MESSAGE_CATEGORY_STATE_CREATION,
  D3D12_MESSAGE_CATEGORY_STATE_SETTING,
  D3D12_MESSAGE_CATEGORY_STATE_GETTING,
  D3D12_MESSAGE_CATEGORY_RESOURCE_MANIPULATION,
  D3D12_MESSAGE_CATEGORY_EXECUTION,
  D3D12_MESSAGE_CATEGORY_SHADER
} ;

Constants

 
D3D12_MESSAGE_CATEGORY_APPLICATION_DEFINED
Value: 0
Indicates a user defined message, see ID3D12InfoQueue::AddMessage.
D3D12_MESSAGE_CATEGORY_MISCELLANEOUS
D3D12_MESSAGE_CATEGORY_INITIALIZATION
D3D12_MESSAGE_CATEGORY_CLEANUP
D3D12_MESSAGE_CATEGORY_COMPILATION
D3D12_MESSAGE_CATEGORY_STATE_CREATION
D3D12_MESSAGE_CATEGORY_STATE_SETTING
D3D12_MESSAGE_CATEGORY_STATE_GETTING
D3D12_MESSAGE_CATEGORY_RESOURCE_MANIPULATION
D3D12_MESSAGE_CATEGORY_EXECUTION
D3D12_MESSAGE_CATEGORY_SHADER

Remarks

This is part of the Information Queue feature, refer to the ID3D12InfoQueue Interface.

Requirements

Requirement Value
Header d3d12sdklayers.h

See also

Debug Layer Enumerations