summaryrefslogtreecommitdiffstats
path: root/particles_tutorial/shaders.rst
diff options
context:
space:
mode:
authorVenugopal Shivashankar <venugopal.shivashankar@digia.com>2013-02-27 16:25:16 +0100
committerVenugopal Shivashankar <venugopal.shivashankar@digia.com>2013-02-28 14:44:54 +0100
commit80fab9444b177ba7ef12ec5afe29f7d819394d2b (patch)
treecbe4d89d762be1c04e6e465d138e8c63741e5889 /particles_tutorial/shaders.rst
parentb4eb5a477de61e67e59bc7fcc6f69ff63801c168 (diff)
Minor edits and configuration fixes
Task-number: QTBUG-28831 Change-Id: I6779c5e242b850ec0c77f987e149d44d2ccbdea2 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'particles_tutorial/shaders.rst')
-rw-r--r--particles_tutorial/shaders.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/particles_tutorial/shaders.rst b/particles_tutorial/shaders.rst
index c5db6fe..8592cc2 100644
--- a/particles_tutorial/shaders.rst
+++ b/particles_tutorial/shaders.rst
@@ -16,7 +16,7 @@ Overview
In order to perform advanced graphical effects, Qt Quick 2 enables you to use vertex and fragment shader programs with your QML local properties via the :qt5:`ShaderEffect <qtquick/qml-qtquick2-shadereffect.html>` QML type.
-This type enables you to combine your GLSL program with your QML code to control the graphics at a much lower level using custom shaders. `ShaderEffect` enables you to implement a vertex or fragment shader program in your QML code via the :qt5-snapshot:`vertexShader <qml-qtquick2-shadereffect.html#vertexShader-prop>` and :qt5:`fragmentShader <qtquick/qml-qtquick2-shadereffect.html#fragmentShader-prop>` properties. When you specify a QML item as variant property in your `ShaderEffect`, the item is provided to your vertex or fragment shader as `Sampler2D`.
+This type enables you to combine your GLSL program with your QML code to control the graphics at a much lower level using custom shaders. `ShaderEffect` enables you to implement a vertex or fragment shader program in your QML code via the :qt5:`vertexShader <qml-qtquick2-shadereffect.html#vertexShader-prop>` and :qt5:`fragmentShader <qtquick/qml-qtquick2-shadereffect.html#fragmentShader-prop>` properties. When you specify a QML item as variant property in your `ShaderEffect`, the item is provided to your vertex or fragment shader as `Sampler2D`.
Consider the following example: