summaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
authorKaj Grönholm <kaj.gronholm@qt.io>2020-10-15 12:40:32 +0300
committerKaj Grönholm <kaj.gronholm@qt.io>2020-10-16 07:37:35 +0300
commit747ed180415327c1ece00cc469a1a6170066a0ae (patch)
tree825681fd961855bc2a46d0f9ab7b9686060fa559 /src/api
parentc3e33e9b4d5e7170c787a76d0a168ad18272704d (diff)
Improve runtime build options documentation
Task-number: QT3DS-4185 Change-Id: Id23f07dc07547c37643081a5116b84be3ccd0d4b Reviewed-by: Tony Leinonen <tony.leinonen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/api')
-rw-r--r--src/api/studio3d/doc/src/building-opengl-runtime.qdoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/api/studio3d/doc/src/building-opengl-runtime.qdoc b/src/api/studio3d/doc/src/building-opengl-runtime.qdoc
index f33715c..30822bb 100644
--- a/src/api/studio3d/doc/src/building-opengl-runtime.qdoc
+++ b/src/api/studio3d/doc/src/building-opengl-runtime.qdoc
@@ -75,6 +75,16 @@ Log format is: \c {(n) [task name] - [time] = [cumulative time]} where:
\note \c QT3DS_ENABLE_PERF_LOGGING should not be enabled in release builds as logging increases performance overhead.
+\section2 Shadows and Lights
+To optimize the supported shadows and lights amount, you can define QT3DS_MAX_NUM_LIGHTS and QT3DS_MAX_NUM_SHADOWS.
+
+\section2 Legacy ASTC
+To enable legacy ASTC which means that ASTC files are not loaded until needed for texture creation, define LEGACY_ASTC_LOADING.
+
+\section2 Premultiplied ASTC
+To force all ASTC compressed images to be treated as premultiplied, you can enable this. Alternatively if you want
+to do this at runtime, set QT3DS_ALL_ASTC_PREMULTIPLIED as an environment variable.
+
\section1 Build Instructions
\list