Magnum::Ui::DebugLayerGL class new in Git master

OpenGL implementation of the debug layer.

Implements visual feedback for DebugLayerFlag::NodeHighlight. See the DebugLayer base class documentation for information about setting up an instance of this layer and using it. The base class contains the whole interface you'll be interacting with, thus you don't need to subsequently access the derived type for anything. If you don't use DebugLayerFlag::NodeHighlight or don't need the visual feedback, you can instantiate just the DebugLayer base class instead.

The layer assumes RendererGL is set on the user interface (or UserInterfaceGL used, which does so automatically), see its documentation for more information about GL state expectations. The layer produces geometry in a counter-clockwise winding, so GL::Renderer::Feature::FaceCulling can stay enabled when drawing it.

Base classes

class DebugLayer new in Git master
Debug layer.

Constructors, destructors, conversion operators

DebugLayerGL(LayerHandle handle, DebugLayerSources sources, DebugLayerFlags flags = {}) explicit
Constructor.

Function documentation

Magnum::Ui::DebugLayerGL::DebugLayerGL(LayerHandle handle, DebugLayerSources sources, DebugLayerFlags flags = {}) explicit

Constructor.

Parameters
handle Layer handle returned from AbstractUserInterface::createLayer()
sources Data sources to track
flags Behavior flags