tp::DebugMessageContext struct

Describes the context of where a debug message was triggered. This is useful because Tephra calls do not always correspond 1:1 to Vulkan calls. Vulkan validation messages refer to only the Vulkan function that triggered the message, but this structure provides information about the involved Tephra function as well.

Public variables

const char* methodName
The class method that triggered the message.
const char* objectName
The debug name given to the specific Tephra object that triggered the message or nullptr.
const char* parameter
The name of an important parameter passed to the method or nullptr.
const char* parentObjectName
The debug name given to the parent object (Application to Device, Device to Image) or nullptr.
const char* typeName
The name of the Tephra class type where the message was triggered or nullptr.