D3D12_MESSAGE 结构 (d3d12sdklayers.h)

信息队列中的调试消息。

语法

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

成员

Category

消息的类别。 请参阅 D3D12_MESSAGE_CATEGORY

Severity

消息的严重性。 请参阅 D3D12_MESSAGE_SEVERITY

ID

该消息的 ID。 请参阅 D3D12_MESSAGE_ID

pDescription

message 字符串。

DescriptionByteLength

pDescription 的长度(以字节为单位)。

备注

此结构作为信息队列功能的一部分从 ID3D12InfoQueue::GetMessage 返回, (请参阅 ID3D12InfoQueue) 。

要求

   
标头 d3d12sdklayers.h

请参阅

调试层结构