summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAntti Määttä <antti.maatta@qt.io>2020-10-05 09:02:56 +0300
committerAntti Määttä <antti.maatta@qt.io>2020-10-06 08:47:39 +0300
commitd36a73334e7a84b2a7e33672955954d95a75a104 (patch)
treef7a20ec63dc58ee2f8bba54714690df7c36eec6b /doc
parent81b2e17227573925112a334dfec34dc6ea612a1c (diff)
Add CullFace and Culling to effect docs
Change-Id: I435ad2c22eeb69a98a8c02d1f161ec0312fa69a4 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/07-file-formats/6-effect-reference.qdoc21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/src/07-file-formats/6-effect-reference.qdoc b/doc/src/07-file-formats/6-effect-reference.qdoc
index a448464f..faaa08d2 100644
--- a/doc/src/07-file-formats/6-effect-reference.qdoc
+++ b/doc/src/07-file-formats/6-effect-reference.qdoc
@@ -356,6 +356,7 @@ The element attributes are:
\li name
\li \list
\li \c Stencil
+ \li \c CullFace
\endlist
\li Name of the render state
\row
@@ -435,4 +436,24 @@ The boolean operator values are:
\li \c greater-than-or-equal
\li \c always
\endlist
+
+\section2 <Culling>
+
+This element can be used to select which faces are culled by CullFace.
+
+The element attributes are:
+\table
+\header
+ \li attribute
+ \li values
+ \li description
+\row
+ \li mode
+ \li \list
+ \li \c Back - Back faces.
+ \li \c Front - Front faces.
+ \li \c All - All faces.
+ \endlist
+ \li Specifies CullFace mode.
+\endtable
*/