class
#include <Magnum/Ui/AbstractVisualLayer.h>
DebugIntegration Debug layer integration.
Integrates the layer with DebugLayer. See AbstractVisualLayer debug layer integration for more information and example usage.
Constructors, destructors, conversion operators
-
DebugIntegration(Containers::
StringView(*)(UnsignedInt style) styleName = nullptr) - Constructor.
Function documentation
Magnum:: Ui:: AbstractVisualLayer:: DebugIntegration:: DebugIntegration(Containers:: StringView(*)(UnsignedInt style) styleName = nullptr)
Constructor.
The styleName
function, if set, is used to retrieve names for non-dynamic styles assigned to particular data. If it returns an empty string for a particular style ID, it's treated as if the function wasn't used for given style at all, showing just the ID alone. The style
passed to the function is guaranteed to be less than AbstractVisualLayer::