summaryrefslogtreecommitdiffstats
path: root/src/api/studio3d/q3dspresentation_p.h
diff options
context:
space:
mode:
authorKaj Grönholm <kaj.gronholm@qt.io>2020-09-03 09:28:02 +0300
committerKaj Grönholm <kaj.gronholm@qt.io>2020-09-04 08:36:18 +0300
commit14d38c6e593a4ad33997f075beeda462db5a8528 (patch)
treeda8100ee054da5b33277e7754f2e8257f50e8cec /src/api/studio3d/q3dspresentation_p.h
parenteb7ebc423d0819698537048679e5a9e857973025 (diff)
Support automatic detection of texture file extension
When using setAttribute() it is now possible to give filename without the extension and engine automatically locates the most suitable existing file. If preferKTX is set, compressed texture formats (ktx, astc, dds) are preferred over non-compressed ones (e.g. png, jpg). The behavior is similar to Qt Quick Image automatic detection of file extension. Includes autotest to confirm the behavior. Task-number: QT3DS-4059 Change-Id: I1d4ab0d86b34f5deb704d450e5c36e86afde7d3b Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/api/studio3d/q3dspresentation_p.h')
0 files changed, 0 insertions, 0 deletions