Class GraphicsDebug
public class GraphicsDebug
- Inheritance
-
GraphicsDebug
- Inherited Members
Methods
TryDequeueMessage(out GraphicsDebugMessage)
Attempt to dequeue a debugging message from the graphics subsystem.
public bool TryDequeueMessage(out GraphicsDebugMessage message)
Parameters
message
GraphicsDebugMessageThe graphics debugging message if retrieved, null otherwise.
Returns
- bool
True if a graphics debugging message was retrieved, false otherwise.
Remarks
When running on a graphics device with debugging enabled, this allows you to retrieve subsystem-specific (e.g. DirectX, OpenGL, etc.) debugging messages including information about improper usage of shaders and APIs.