ID3D10InfoQueue interface
An information-queue interface stores, retrieves, and filters debug messages. The queue consists of a message queue, an optional storage filter stack, and a optional retrieval filter stack.
Members
The ID3D10InfoQueue interface inherits from the IUnknown interface. ID3D10InfoQueue also has these types of members:
Methods
The ID3D10InfoQueue interface has these methods.
| Method | Description |
|---|---|
| AddApplicationMessage |
Add a user-defined message to the message queue and send that message to debug output. |
| AddMessage |
Add a Direct3D 10 debug message to the message queue and send that message to debug output. |
| AddRetrievalFilterEntries |
Add storage filters to the top of the retrieval-filter stack. |
| AddStorageFilterEntries |
Add storage filters to the top of the storage-filter stack. |
| ClearRetrievalFilter |
Remove a retrieval filter from the top of the retrieval-filter stack. |
| ClearStorageFilter |
Remove a storage filter from the top of the storage-filter stack. |
| ClearStoredMessages |
Clear all messages from the message queue. |
| GetBreakOnCategory |
Get a message category to break on when a message with that category passes through the storage filter. |
| GetBreakOnID |
Get a message identifier to break on when a message with that identifier passes through the storage filter. |
| GetBreakOnSeverity |
Get a message severity level to break on when a message with that severity level passes through the storage filter. |
| GetMessage |
Get a message from the message queue. |
| GetMessageCountLimit |
Get the maximum number of messages that can be added to the message queue. |
| GetMuteDebugOutput |
Get a boolean that turns the debug output on or off. |
| GetNumMessagesAllowedByStorageFilter |
Get the number of messages that were allowed to pass through a storage filter. |
| GetNumMessagesDeniedByStorageFilter |
Get the number of messages that were denied passage through a storage filter. |
| GetNumMessagesDiscardedByMessageCountLimit |
Get the number of messages that were discarded due to the message count limit. |
| GetNumStoredMessages |
Get the number of messages currently stored in the message queue. |
| GetNumStoredMessagesAllowedByRetrievalFilter |
Get the number of messages that are able to pass through a retrieval filter. |
| GetRetrievalFilter |
Get the retrieval filter at the top of the retrieval-filter stack. |
| GetRetrievalFilterStackSize |
Get the size of the retrieval-filter stack in bytes. |
| GetStorageFilter |
Get the storage filter at the top of the storage-filter stack. |
| GetStorageFilterStackSize |
Get the size of the storage-filter stack in bytes. |
| PopRetrievalFilter |
Pop a retrieval filter from the top of the retrieval-filter stack. |
| PopStorageFilter |
Pop a storage filter from the top of the storage-filter stack. |
| PushCopyOfRetrievalFilter |
Push a copy of retrieval filter currently on the top of the retrieval-filter stack onto the retrieval-filter stack. |
| PushCopyOfStorageFilter |
Push a copy of storage filter currently on the top of the storage-filter stack onto the storage-filter stack. |
| PushEmptyRetrievalFilter |
Push an empty retrieval filter onto the retrieval-filter stack. |
| PushEmptyStorageFilter |
Push an empty storage filter onto the storage-filter stack. |
| PushRetrievalFilter |
Push a retrieval filter onto the retrieval-filter stack. |
| PushStorageFilter |
Push a storage filter onto the storage-filter stack. |
| SetBreakOnCategory |
Set a message category to break on when a message with that category passes through the storage filter. |
| SetBreakOnID |
Set a message identifier to break on when a message with that identifier passes through the storage filter. |
| SetBreakOnSeverity |
Set a message severity level to break on when a message with that severity level passes through the storage filter. |
| SetMessageCountLimit |
Set the maximum number of messages that can be added to the message queue. |
| SetMuteDebugOutput |
Set a boolean that turns the debug output on or off. |
Remarks
This interface is obtained by turning on the debug layer and querying it from the ID3D10Device Interface using IUnknown::QueryInterface.
hr = D3D10CreateDeviceAndSwapChain( NULL, g_driverType, NULL, D3D10_CREATE_DEVICE_DEBUG, D3D10_SDK_VERSION, &sd, &g_pSwapChain, &g_pd3dDevice ); ... ID3D10InfoQueue * infoQueue; g_pd3dDevice->QueryInterface(__uuidof(ID3D10InfoQueue), (void **)&infoQueue);
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also