aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/twotextureproviders/doc/src/twotextureproviders.qdoc
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@sletta.org>2014-08-22 16:52:05 +0200
committerGunnar Sletta <gunnar@sletta.org>2014-08-26 06:10:51 +0200
commit1075dca1b50926f52daddf099b5f5a9fbb5da6c7 (patch)
tree4a6160db2fe4b22b9f99674548a47c55b77f8244 /examples/quick/scenegraph/twotextureproviders/doc/src/twotextureproviders.qdoc
parent3035fd9ad9f1212c0eccd6a81a727727b2b38472 (diff)
Added an example that shows how to consume texture providers from C++.
And how to use use two textures in the same material. Change-Id: Idcc618ed359422c2a104eeed105b7c4f5086ee4e Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'examples/quick/scenegraph/twotextureproviders/doc/src/twotextureproviders.qdoc')
-rw-r--r--examples/quick/scenegraph/twotextureproviders/doc/src/twotextureproviders.qdoc36
1 files changed, 36 insertions, 0 deletions
diff --git a/examples/quick/scenegraph/twotextureproviders/doc/src/twotextureproviders.qdoc b/examples/quick/scenegraph/twotextureproviders/doc/src/twotextureproviders.qdoc
new file mode 100644
index 0000000000..3283bcf029
--- /dev/null
+++ b/examples/quick/scenegraph/twotextureproviders/doc/src/twotextureproviders.qdoc
@@ -0,0 +1,36 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Gunnar Sletta <gunnar@sletta.org>
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the documentation of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file. Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: http://www.gnu.org/copyleft/fdl.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+ \example scenegraph/twotextureproviders
+ \title Scene Graph - Two Texture Providers
+ \ingroup qtquickexamples
+
+ \brief Shows how to combine two textures from two texture providers in a custom scene graph node.
+
+ \image twotextureproviders-example.jpg
+ */