QNoDraw Class
(Qt3DRender::QNoDraw)When a QNoDraw node is present in a FrameGraph branch, this prevents the renderer from rendering any primitive. More...
Header: | #include <QNoDraw> |
qmake: | QT += 3drender |
Since: | Qt 5.5 |
Inherits: | Qt3DRender::QFrameGraphNode |
Public Functions
QNoDraw(Qt3DCore::QNode *parent = Q_NULLPTR) | |
~QNoDraw() |
- 2 public functions inherited from Qt3DRender::QFrameGraphNode
- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
Additional Inherited Members
- 1 property inherited from Qt3DRender::QFrameGraphNode
- 2 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
- 1 public slot inherited from Qt3DRender::QFrameGraphNode
- 2 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
- 1 signal inherited from Qt3DRender::QFrameGraphNode
- 2 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
- 11 static public members inherited from QObject
- 3 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
- 1 static protected member inherited from Qt3DCore::QNode
Detailed Description
When a QNoDraw node is present in a FrameGraph branch, this prevents the renderer from rendering any primitive.
QNoDraw should be used when the FrameGraph needs to set up some render states or clear some buffers without requiring any mesh to be drawn. It has the same effect as having a Qt3DRender::QRenderPassFilter that matches none of available Qt3DRender::QRenderPass instances of the scene without the overhead cost of actually performing the filtering.
Member Function Documentation
QNoDraw::QNoDraw(Qt3DCore::QNode *parent = Q_NULLPTR)
Default constructs an instance of QNoDraw.
QNoDraw::~QNoDraw()
Destroys the instance of QNoDraw.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/archives/qt-5.6/qt3drender-qnodraw.html