diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-08-16 09:54:03 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-08-22 16:10:19 +0200 |
commit | ef2715251e1785e273873e4000ed08fd99962ab7 (patch) | |
tree | 719be474a8cc13fe0a38bbf109501b090526e860 /examples/quick/scenegraph/openglunderqml | |
parent | 7b130535cf590b310f23c8167986588d3982ad20 (diff) |
Add missing scenegraph example docs
Change-Id: I72e18136a26cdfb52f204ce7d0491d14411956a4
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/openglunderqml')
-rw-r--r-- | examples/quick/scenegraph/openglunderqml/doc/src/openglunderqml.qdoc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/quick/scenegraph/openglunderqml/doc/src/openglunderqml.qdoc b/examples/quick/scenegraph/openglunderqml/doc/src/openglunderqml.qdoc index 69a9d2ce4b..ed46b40420 100644 --- a/examples/quick/scenegraph/openglunderqml/doc/src/openglunderqml.qdoc +++ b/examples/quick/scenegraph/openglunderqml/doc/src/openglunderqml.qdoc @@ -50,6 +50,11 @@ in the QML file and this value is used by the OpenGL shader program that draws the squircles. + The example is equivalent in most ways to the \l{Scene Graph - Direct3D 11 Under + QML}{Direct3D 11 Under QML} and \l{Scene Graph - Metal Under QML}{Metal Under + QML} examples, they all render the same custom content, just via different + native APIs. + \snippet scenegraph/openglunderqml/squircle.h 2 First of all, we need an object we can expose to QML. This is a |