Version: 2022.2

描述

Import textures with texture compression off.

You can set EditorUserBuildSettings.overrideTextureCompression to ForceUncompressed to import all textures into uncompressed texture formats. This is the same as if all the textures had "Compression: None" option set in their import settings.

This setting is mostly useful for local development, to speed up texture importing or a platform switch process. Some compressed texture formats are slow to compress, and for local development you might want to skip that. Note however that uncompressed textures do take up more memory and might be slower for GPU to render with.

See Also: EditorUserBuildSettings.overrideTextureCompression, Texture Importer, command line arguments.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961