summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntti Määttä <antti.maatta@qt.io>2016-09-02 14:18:52 +0300
committerAntti Määttä <antti.maatta@qt.io>2016-09-05 08:50:30 +0000
commit75ff2892bcaaf586856d28524fd461c2eaee5314 (patch)
tree8e7f862ae70e618ad409b69e8b2602d231359c96
parent54817963613f5ac81767a6feebc8caf34a901196 (diff)
Update QFrameGraphNode docs
Change-Id: I3d974b7ab1f5e0b829b139c71a1469fe35dd5ec1 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
-rw-r--r--src/render/framegraph/qframegraphnode.cpp109
1 files changed, 99 insertions, 10 deletions
diff --git a/src/render/framegraph/qframegraphnode.cpp b/src/render/framegraph/qframegraphnode.cpp
index add8fc75d..c60c859ac 100644
--- a/src/render/framegraph/qframegraphnode.cpp
+++ b/src/render/framegraph/qframegraphnode.cpp
@@ -50,14 +50,57 @@ QFrameGraphNodePrivate::QFrameGraphNodePrivate()
}
/*!
- \class Qt3DRender::QFrameGraphNode
- \inmodule Qt3DRender
- \since 5.5
-
- \brief Base class of all FrameGraph configuration nodes.
+ \class Qt3DRender::QFrameGraphNode
+ \inmodule Qt3DRender
+ \since 5.5
- This is an abstract class so it cannot be instanced directly
- but rather through one of its subclasses.
+ \brief Base class of all FrameGraph configuration nodes.
+
+ This is an abstract class so it cannot be instanced directly
+ but rather through one of its subclasses.
+
+ The subclasses are:
+ \table
+ \header
+ \li class
+ \li description
+ \row
+ \li Qt3DRender::QCameraSelector
+ \li Select camera from all available cameras in the scene
+ \row
+ \li Qt3DRender::QClearBuffers
+ \li Specify which buffers to clear and to what values
+ \row
+ \li Qt3DRender::QDispatchCompute
+ \li Specify Compute operation kernels
+ \row
+ \li Qt3DRender::QFrustumCulling
+ \li Enable frustum culling
+ \row
+ \li Qt3DRender::QLayerFilter
+ \li Select which layers to draw
+ \row
+ \li Qt3DRender::QNoDraw
+ \li Disable drawing
+ \row
+ \li Qt3DRender::QRenderPassFilter
+ \li Select which render passes to draw
+ \row
+ \li Qt3DRender::QRenderStateSet
+ \li Set render states
+ \row
+ \li Qt3DRender::QRenderSurfaceSelector
+ \li Select which surface to draw to
+ \row
+ \li Qt3DRender::QSortPolicy
+ \li Specify how entities are sorted to determine draw order
+ \row
+ \li Qt3DRender::QTechniqueFilter
+ \li Select which techniques to draw
+ \row
+ \li Qt3DRender::QViewport
+ \li Specify viewport
+ \endtable
*/
@@ -67,11 +110,57 @@ QFrameGraphNodePrivate::QFrameGraphNodePrivate()
\instantiates Qt3DRender::QFrameGraphNode
\inherits Node
\since 5.5
- \qmlabstract
+ \brief Base class of all FrameGraph configuration nodes.
+
+ This is an abstract class so it cannot be instanced directly
+ but rather through one of its subclasses.
+
+ The subclasses are:
+ \table
+ \header
+ \li class
+ \li description
+ \row
+ \li CameraSelector
+ \li Select camera from all available cameras in the scene
+ \row
+ \li ClearBuffers
+ \li Specify which buffers to clear and to what values
+ \row
+ \li DispatchCompute
+ \li Specify Compute operation kernels
+ \row
+ \li FrustumCulling
+ \li Enable frustum culling
+ \row
+ \li LayerFilter
+ \li Select which layers to draw
+ \row
+ \li NoDraw
+ \li Disable drawing
+ \row
+ \li RenderPassFilter
+ \li Select which render passes to draw
+ \row
+ \li RenderStateSet
+ \li Set render states
+ \row
+ \li RenderSurfaceSelector
+ \li Select which surface to draw to
+ \row
+ \li SortPolicy
+ \li Specify how entities are sorted to determine draw order
+ \row
+ \li TechniqueFilter
+ \li Select which techniques to draw
+ \row
+ \li Viewport
+ \li Specify viewport
+ \endtable
*/
/*!
- The constructor creates an instance with the specified \a parent.
+ The constructor creates an instance with the specified \a parent.
*/
QFrameGraphNode::QFrameGraphNode(QNode *parent)
: QNode(*new QFrameGraphNodePrivate, parent)
@@ -84,7 +173,7 @@ QFrameGraphNode::~QFrameGraphNode()
}
/*!
- Returns a pointer to the parent.
+ Returns a pointer to the parent.
*/
QFrameGraphNode *QFrameGraphNode::parentFrameGraphNode() const
{