16#ifndef QGSFRAMEGRAPH_UTILS_H 
   17#define QGSFRAMEGRAPH_UTILS_H 
   20#include <Qt3DRender/QCamera> 
   21#include <Qt3DRender/QRenderSurfaceSelector> 
   22#include <Qt3DRender/QViewport> 
   23#include <Qt3DRender/QCameraSelector> 
   24#include <Qt3DRender/QLayerFilter> 
   25#include <Qt3DRender/QLayer> 
   26#include <Qt3DRender/QRenderTargetSelector> 
   27#include <Qt3DRender/QRenderTarget> 
   28#include <Qt3DRender/QTexture> 
   29#include <Qt3DRender/QClearBuffers> 
   30#include <Qt3DRender/QParameter> 
   31#include <Qt3DRender/QFrustumCulling> 
   32#include <Qt3DRender/QRenderStateSet> 
   33#include <Qt3DRender/QDepthTest> 
   34#include <Qt3DRender/QCullFace> 
   35#include <Qt3DRender/QPolygonOffset> 
   36#include <Qt3DRender/QRenderCapture> 
   37#include <Qt3DRender/QDebugOverlay> 
   62    static QString formatIdName( 
FgDumpContext context, quint64 
id, 
const QString &name );
 
   64    static QString formatIdName( 
FgDumpContext context, 
const Qt3DRender::QAbstractTexture *texture );
 
   66    static QString formatNode( 
FgDumpContext context, 
const Qt3DCore::QNode *n );
 
   68    static QString formatList( 
const QStringList &lst );
 
   70    static QString formatLongList( 
const QStringList &lst, 
int level );
 
   72    static QString formatField( 
const QString &name, 
const QString &value );
 
   74    static QString dumpSGEntity( 
FgDumpContext context, 
const Qt3DCore::QEntity *n, 
int level );
 
   76    static QStringList dumpSG( 
FgDumpContext context, 
const Qt3DCore::QNode *n, 
int level = 0 );
 
   78    static QString dumpFGNode( 
FgDumpContext context, 
const Qt3DRender::QFrameGraphNode *n );
 
   80    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...