diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-24 12:04:15 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-24 19:48:49 +0200 |
commit | 8a19c2c64dcc07221d4d4a88782d51cb2ec93995 (patch) | |
tree | 231ba27bdabf691fed4217dd7bc0c7ae786e8342 /src/quick | |
parent | 43d4a9faac74e301ba39243ca7525ee03a5adb53 (diff) |
Add links to examples in scenegraph docs
Change-Id: I00192314cdb954acdd4f933eec912cffab3584c6
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/quick')
-rw-r--r-- | src/quick/scenegraph/coreapi/qsgmaterial.cpp | 6 | ||||
-rw-r--r-- | src/quick/scenegraph/coreapi/qsgmaterialshader.cpp | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgmaterial.cpp b/src/quick/scenegraph/coreapi/qsgmaterial.cpp index 9e326711d6..24cb778254 100644 --- a/src/quick/scenegraph/coreapi/qsgmaterial.cpp +++ b/src/quick/scenegraph/coreapi/qsgmaterial.cpp @@ -123,8 +123,14 @@ static void qt_print_material_count() }; \endcode + See the \l{Scene Graph - Custom Material}{Custom Material example} for an introduction + on implementing a QQuickItem subclass backed by a QSGGeometryNode and a custom + material. + \note All classes with QSG prefix should be used solely on the scene graph's rendering thread. See \l {Scene Graph and Rendering} for more information. + + \sa QSGMaterialShader, {Scene Graph - Custom Material}, {Scene Graph - Two Texture Providers}, {Scene Graph - Graph} */ /*! diff --git a/src/quick/scenegraph/coreapi/qsgmaterialshader.cpp b/src/quick/scenegraph/coreapi/qsgmaterialshader.cpp index 2465d7a674..d3bfa54041 100644 --- a/src/quick/scenegraph/coreapi/qsgmaterialshader.cpp +++ b/src/quick/scenegraph/coreapi/qsgmaterialshader.cpp @@ -187,6 +187,8 @@ QT_BEGIN_NAMESPACE \note All classes with QSG prefix should be used solely on the scene graph's rendering thread. See \l {Scene Graph and Rendering} for more information. + + \sa QSGMaterial, {Scene Graph - Custom Material}, {Scene Graph - Two Texture Providers}, {Scene Graph - Graph} */ /*! |