summaryrefslogtreecommitdiff
path: root/editor/plugins/editor_debugger_plugin.h
diff options
context:
space:
mode:
authorLyuma <xn.lyuma@gmail.com>2023-01-30 23:37:55 -0800
committerLyuma <xn.lyuma@gmail.com>2023-02-01 01:42:36 -0800
commitbc24d0135944dedbdbaa8f6aff8f9faee772fe3e (patch)
tree48d03b8273c0ff940bba3c531dec26e62a4e41d3 /editor/plugins/editor_debugger_plugin.h
parent0810ecaafdbee3ea747219e6ab3a8de5d2216a09 (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/plugins/editor_debugger_plugin.h')
0 files changed, 0 insertions, 0 deletions