DebugIntegration class
#include <Magnum/Ui/LayoutLayer.h>
Debug layer integration.
Integrates the layer with DebugLayer. See LayoutLayer 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:: LayoutLayer:: DebugIntegration:: DebugIntegration(Containers:: StringView(*)(UnsignedInt style) styleName = nullptr)
Constructor.
The styleName function, if set, is used to retrieve names for 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 LayoutLayer::