TextureImporter 的导入纹理格式。
大多数值与 TextureFormat 中的值相匹配,除此之外还有“Automatic”值,该值会根据平台和纹理类型或用法
挑选最佳格式。
另请参阅:TextureImporter.textureFormat。
Automatic | 根据纹理参数自动选择纹理格式。 |
DXT1 | DXT1 (BC1) compressed texture format. |
DXT5 | DXT5 (BC3) compressed texture format. |
RGB16 | RGB565 纹理格式。 |
RGB24 | RGB24 纹理格式。 |
Alpha8 | Alpha8 纹理格式。 |
R16 | R16 纹理格式。 |
R8 | R8 纹理格式。 |
RG16 | RG16 纹理格式。 |
ARGB16 | ARGB4444 纹理格式。 |
RGBA32 | RGBA32 纹理格式。 |
ARGB32 | ARGB32 纹理格式。 |
RGBA16 | RGBA4444 纹理格式。 |
RHalf | RHalf 半精度浮点纹理格式。 |
RGHalf | RGHalf 半精度浮点纹理格式。 |
RGBAHalf | RGBAHalf 半精度浮点纹理格式。 |
RFloat | RFloat 浮点纹理格式。 |
RGFloat | RGFloat 浮点纹理格式。 |
RGBAFloat | RGBAFloat 浮点 RGBA 纹理格式。 |
RGB9E5 | TextureFormat.RGB9e5Float 带有共享指数的压缩无符号浮点纹理格式。 |
BC4 | BC4 压缩纹理格式。 |
BC5 | BC5 压缩纹理格式。 |
BC6H | BC6H 压缩 HDR 纹理格式。 |
BC7 | BC7 压缩纹理格式。 |
DXT1Crunched | DXT1 (BC1) compressed texture format using Crunch compression for smaller storage sizes. |
DXT5Crunched | DXT5 (BC3) compressed texture format using Crunch compression for smaller storage sizes. |
PVRTC_RGB2 | PowerVR/iOS PVRTC_RGB2 压缩纹理格式。 |
PVRTC_RGBA2 | PowerVR/iOS PVRTC_RGBA2 压缩纹理格式。 |
PVRTC_RGB4 | PowerVR/iOS PVRTC_RGB4 压缩纹理格式。 |
PVRTC_RGBA4 | PowerVR/iOS PVRTC_RGBA4 压缩纹理格式。 |
ETC_RGB4 | ETC (GLES2.0) 4 位/像素压缩 RGB 纹理格式。 |
EAC_R | ETC2/EAC 压缩 4 位/像素无符号 R 纹理格式。 |
EAC_R_SIGNED | ETC2/EAC 压缩 4 位/像素有符号 R 纹理格式。 |
EAC_RG | ETC2/EAC 压缩 8 位/像素无符号 RG 纹理格式。 |
EAC_RG_SIGNED | ETC2/EAC 压缩 4 位/像素有符号 RG 纹理格式。 |
ETC2_RGB4 | ETC2 压缩 4 位/像素 RGB 纹理格式。 |
ETC2_RGB4_PUNCHTHROUGH_ALPHA | ETC2 压缩 4 位/像素 RGB + 1 位 Alpha 纹理格式。 |
ETC2_RGBA8 | ETC2 压缩 8 位/像素 RGBA 纹理格式。 |
ASTC_4x4 | ASTC 压缩 RGB(A) 纹理格式,块大小为 4x4。 |
ASTC_5x5 | ASTC 压缩 RGB(A) 纹理格式,块大小为 5x5。 |
ASTC_6x6 | ASTC 压缩 RGB(A) 纹理格式,块大小为 6x6。 |
ASTC_8x8 | ASTC 压缩 RGB(A) 纹理格式,块大小为 8x8。 |
ASTC_10x10 | ASTC 压缩 RGB(A) 纹理格式,块大小为 10x10。 |
ASTC_12x12 | ASTC 压缩 RGB(A) 纹理格式,块大小为 12x12。 |
ETC_RGB4Crunched | 使用 Crunch 压缩的 ETC_RGB4 压缩纹理格式,适用于较小的存储大小。 |
ETC2_RGBA8Crunched | 使用 Crunch 压缩的具有 Alpha 通道纹理格式的 ETC2_RGBA8 压缩颜色,适用于较小的存储大小。 |
ASTC_HDR_4x4 | ASTC 压缩 RGB(A) HDR 纹理格式,块大小为 4x4。 |
ASTC_HDR_5x5 | ASTC 压缩 RGB(A) HDR 纹理格式,块大小为 5x5。 |
ASTC_HDR_6x6 | ASTC 压缩 RGB(A) HDR 纹理格式,块大小为 6x6。 |
ASTC_HDR_8x8 | ASTC 压缩 RGB(A) HDR 纹理格式,块大小为 8x8。 |
ASTC_HDR_10x10 | ASTC 压缩 RGB(A) HDR 纹理格式,块大小为 10x10。 |
ASTC_HDR_12x12 | ASTC 压缩 RGB(A) HDR 纹理格式,块大小为 12x12。 |
RG32 | RG32 texture format. |
RGB48 | RGB48 texture format. |
RGBA64 | RGBA64 texture format. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.