Skip to content

Commit 841948f

Browse files
committed
Add documentation for RenderMode enum variants
I was confused what VisualizeTraces actually did, so I added a comment explaining what's actually for "Visualize Controls". Added documentation for the other variants as well, even if they're obvious.
1 parent aca7d29 commit 841948f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

plugins/quickinspector/quickinspectorinterface.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,17 @@ class QuickInspectorInterface : public QObject
5151

5252
enum RenderMode
5353
{
54+
///< Nothing special is drawn.
5455
NormalRendering,
56+
///< Backs "Visualize Clipping" in the UI.
5557
VisualizeClipping,
58+
///< Backs "Visualize Overdraw" in the UI.
5659
VisualizeOverdraw,
60+
///< Backs "Visualize Batches" in the UI.
5761
VisualizeBatches,
62+
///< Backs "Visualize Changes" in the UI.
5863
VisualizeChanges,
64+
///< Backs "Visualize Controls" in the UI.
5965
VisualizeTraces,
6066
};
6167

0 commit comments

Comments
 (0)