diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2016-08-09 15:23:42 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-08-09 21:08:18 +0000 |
commit | ff259d5e6caff0377c17a5e74340405cc5b3436c (patch) | |
tree | 0776915a46513750d6dd71ab511152978d42f61d /src/doc/src | |
parent | 37b619ff07a9f0723d91dc1c8ed1bf86be51fd31 (diff) |
Update FrameGraph documentation
Change-Id: Iab953f6920e5d9d577b4c6741a3e6e59f3f647e8
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/doc/src')
-rw-r--r-- | src/doc/src/qt3drender-framegraph.qdoc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/doc/src/qt3drender-framegraph.qdoc b/src/doc/src/qt3drender-framegraph.qdoc index d585c833b..44b1cbe89 100644 --- a/src/doc/src/qt3drender-framegraph.qdoc +++ b/src/doc/src/qt3drender-framegraph.qdoc @@ -122,17 +122,17 @@ \section2 Setting the Framegraph The FrameGraph tree should be assigned to the activeFrameGraph property of - a QFrameGraph component, itself being a component of the root entity in the - Qt 3D scene. This is what makes it the active framegraph for the renderer. - Of course, since this is a QML property binding, the active framegraph (or - parts of it) can be changed on the fly at runtime. For example, if you want - to use different rendering approaches for indoor and outdoor scenes or to - enable or disable some special effect. + a QRenderSettings component, itself being a component of the root entity in + the Qt 3D scene. This is what makes it the active framegraph for the + renderer. Of course, since this is a QML property binding, the active + framegraph (or parts of it) can be changed on the fly at runtime. For + example, if you want to use different rendering approaches for indoor and + outdoor scenes or to enable or disable some special effect. \badcode Entity { id: sceneRoot - components: FrameGraph { + components: RenderSettings { activeFrameGraph: ... // FrameGraph tree } } @@ -144,7 +144,7 @@ \badcode Entity { id: sceneRoot - components: FrameGraph { + components: RenderSettings { ... // FrameGraph tree } } |