diff options
author | Lyuma <xn.lyuma@gmail.com> | 2023-01-30 23:37:55 -0800 |
---|---|---|
committer | Lyuma <xn.lyuma@gmail.com> | 2023-02-01 01:42:36 -0800 |
commit | bc24d0135944dedbdbaa8f6aff8f9faee772fe3e (patch) | |
tree | 48d03b8273c0ff940bba3c531dec26e62a4e41d3 /editor/icons/NodeWarnings3.svg | |
parent | 0810ecaafdbee3ea747219e6ab3a8de5d2216a09 (diff) |
gltf: Add GLTFHandleBinary::HANDLE_BINARY_EMBED_AS_UNCOMPRESSED
This option allows for a safe fallback for embedded gltf textures in cases where VRAM compression is not needed.
Add an is_editor_hint guard around GLTFHandleBinary::HANDLE_BINARY_EXTRACT_TEXTURES, to use EMBED_AS_UNCOMPRESSED by default at runtime.
This provides an option for pixel art to be stored losslessly.
Additionally, respect project importer defaults for texture import settings.
Avoid writing and reimporting extracted textures identical to version on disk.
Diffstat (limited to 'editor/icons/NodeWarnings3.svg')
0 files changed, 0 insertions, 0 deletions