16#ifndef QGSFRAMEGRAPH_UTILS_H
17#define QGSFRAMEGRAPH_UTILS_H
20#include <Qt3DRender/QCamera>
21#include <Qt3DRender/QCameraSelector>
22#include <Qt3DRender/QClearBuffers>
23#include <Qt3DRender/QCullFace>
24#include <Qt3DRender/QDebugOverlay>
25#include <Qt3DRender/QDepthTest>
26#include <Qt3DRender/QFrustumCulling>
27#include <Qt3DRender/QLayer>
28#include <Qt3DRender/QLayerFilter>
29#include <Qt3DRender/QParameter>
30#include <Qt3DRender/QPolygonOffset>
31#include <Qt3DRender/QRenderCapture>
32#include <Qt3DRender/QRenderStateSet>
33#include <Qt3DRender/QRenderSurfaceSelector>
34#include <Qt3DRender/QRenderTarget>
35#include <Qt3DRender/QRenderTargetSelector>
36#include <Qt3DRender/QTexture>
37#include <Qt3DRender/QViewport>
61 static QString formatIdName(
FgDumpContext context, quint64
id,
const QString &name );
63 static QString formatIdName(
FgDumpContext context,
const Qt3DRender::QAbstractTexture *texture );
65 static QString formatNode(
FgDumpContext context,
const Qt3DCore::QNode *n );
67 static QString formatList(
const QStringList &lst );
69 static QString formatLongList(
const QStringList &lst,
int level );
71 static QString formatField(
const QString &name,
const QString &value );
73 static QString dumpSGEntity(
FgDumpContext context,
const Qt3DCore::QEntity *n,
int level );
75 static QStringList dumpSG(
FgDumpContext context,
const Qt3DCore::QNode *n,
int level = 0 );
77 static QString dumpFGNode(
FgDumpContext context,
const Qt3DRender::QFrameGraphNode *n );
79 static QStringList dumpFG(
FgDumpContext context,
const Qt3DCore::QNode *n,
int level = 0 );
Util class to dump Qt3D framegraph or scenegraph.
static QStringList dumpFrameGraph(const Qt3DCore::QNode *node, FgDumpContext context)
Returns a tree view of the frame graph starting from node. The object ids will be given relatively to...
static QStringList dumpSceneGraph(const Qt3DCore::QNode *node, FgDumpContext context)
Returns a tree view of the scene graph starting from node. The object ids will be given relatively to...