Skip to content

Commit

Permalink
Doc: Show signatures of typedef's
Browse files Browse the repository at this point in the history
qdoc doesn't do this by default.

Pick-to: 6.5
Change-Id: Idd4885be2fdac951b2ed555088f9b3f7989157ab
Reviewed-by: Laszlo Agocs <[email protected]>
  • Loading branch information
kkoehne committed Jan 12, 2023
1 parent cb534ec commit 1c62e82
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/gui/vulkan/qvulkaninstance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,12 @@ void QVulkanInstance::presentQueued(QWindow *window)
/*!
\typedef QVulkanInstance::DebugFilter
Typedef for debug filtering callback functions.
Typedef for debug filtering callback functions, with the following signature:
\code
bool myDebugFilter(VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object,
size_t location, int32_t messageCode, const char *pLayerPrefix, const char *pMessage)
\endcode
Returning \c true suppresses the printing of the message.
Expand Down Expand Up @@ -878,7 +883,13 @@ void QVulkanInstance::removeDebugOutputFilter(DebugFilter filter)
/*!
\typedef QVulkanInstance::DebugUtilsFilter
Typedef for debug filtering callback functions. The \c callbackData
Typedef for debug filtering callback functions, with the following signature:
\code
bool myDebugUtilsFilter(DebugMessageSeverityFlags severity, DebugMessageTypeFlags type, const void *callbackData);
\endcode
The \c callbackData
argument is a pointer to the VkDebugUtilsMessengerCallbackDataEXT
structure.
Expand Down

0 comments on commit 1c62e82

Please sign in to comment.