Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSGNodeDumper Class Reference

The QSGNodeDumper class provides a way of dumping a scene grahp to the console. More...

#include <qsgrenderer_p.h>

+ Inheritance diagram for QSGNodeDumper:
+ Collaboration diagram for QSGNodeDumper:

Public Member Functions

 QSGNodeDumper ()
 
void visitNode (QSGNode *n) override
 
void visitChildren (QSGNode *n) override
 
- Public Member Functions inherited from QSGNodeVisitor
virtual ~QSGNodeVisitor ()
 

Static Public Member Functions

static void dump (QSGNode *n)
 

Additional Inherited Members

- Protected Member Functions inherited from QSGNodeVisitor
virtual void enterTransformNode (QSGTransformNode *)
 
virtual void leaveTransformNode (QSGTransformNode *)
 
virtual void enterClipNode (QSGClipNode *)
 
virtual void leaveClipNode (QSGClipNode *)
 
virtual void enterGeometryNode (QSGGeometryNode *)
 
virtual void leaveGeometryNode (QSGGeometryNode *)
 
virtual void enterOpacityNode (QSGOpacityNode *)
 
virtual void leaveOpacityNode (QSGOpacityNode *)
 
virtual void visitNode (QSGNode *n)
 
virtual void visitChildren (QSGNode *n)
 

Detailed Description

The QSGNodeDumper class provides a way of dumping a scene grahp to the console.

This class is solely for debugging purposes.

Definition at line 157 of file qsgrenderer_p.h.

Constructor & Destructor Documentation

◆ QSGNodeDumper()

QSGNodeDumper::QSGNodeDumper ( )
inline

Definition at line 162 of file qsgrenderer_p.h.

Member Function Documentation

◆ dump()

void QSGNodeDumper::dump ( QSGNode n)
static

Definition at line 306 of file qsgrenderer.cpp.

References dump().

Referenced by dump(), and QSGBatchRenderer::Renderer::prepareRenderPass().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visitChildren()

void QSGNodeDumper::visitChildren ( QSGNode n)
overridevirtual

Reimplemented from QSGNodeVisitor.

Definition at line 318 of file qsgrenderer.cpp.

References QSGNodeVisitor::visitChildren().

+ Here is the call graph for this function:

◆ visitNode()

void QSGNodeDumper::visitNode ( QSGNode n)
overridevirtual

Reimplemented from QSGNodeVisitor.

Definition at line 312 of file qsgrenderer.cpp.

References QByteArray::constData(), qDebug, and QSGNodeVisitor::visitNode().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: