D3D12_MESSAGE structure (d3d12sdklayers.h)

A debug message in the Information Queue.

Syntax

typedef struct D3D12_MESSAGE {
  D3D12_MESSAGE_CATEGORY Category;
  D3D12_MESSAGE_SEVERITY Severity;
  D3D12_MESSAGE_ID       ID;
  const char             *pDescription;
  SIZE_T                 DescriptionByteLength;
} D3D12_MESSAGE;

Members

Category

The category of the message. See D3D12_MESSAGE_CATEGORY.

Severity

The severity of the message. See D3D12_MESSAGE_SEVERITY.

ID

The ID of the message. See D3D12_MESSAGE_ID.

pDescription

The message string.

DescriptionByteLength

The length of pDescription, in bytes.

Remarks

This structure is returned from ID3D12InfoQueue::GetMessage as part of the Information Queue feature (see ID3D12InfoQueue).

Requirements

Requirement Value
Header d3d12sdklayers.h

See also

Debug Layer Structures