diff options
author | Antti Määttä <antti.maatta@qt.io> | 2020-08-05 12:20:59 +0300 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2020-08-12 10:31:28 +0300 |
commit | 9f5140ba5fccda4d3c2e7061ce9bb4518149c370 (patch) | |
tree | 6af3f740bb393a3c97347e179d23d7ddb1a26fbd /LICENSE.GPL3 | |
parent | e2f3a05959ff375996a9da8b0ab59dec7f508a80 (diff) |
Allow getting texture id from subpresentation layer
The subpresentation layer textures are stored per instance basis so the
getter needs to use the correct main presentation layer to get it.
Getting the subresentation texture id from images already work by
using "subpresentationId:elementPath" in the getter.
For subpresentation layers the getter needs to specify also the main
presentation layer using the subpresentation. The elementPath needs to be
specified as elementPath::subpresentationId:elementPath.
F.ex. "Scene.Layer2::subpres:Scene.Layer"
Task-number: QT3DS-4127
Change-Id: Ifeb654838e6cc97ac8f95841e080e3c35fc76ad7
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'LICENSE.GPL3')
0 files changed, 0 insertions, 0 deletions