Version: 2023.1
Experimental: this API is experimental and might be changed or removed in the future.

GraphicsFormatUtility.IsETCFormat

切换到手册
public static bool IsETCFormat (Experimental.Rendering.GraphicsFormat format);
public static bool IsETCFormat (TextureFormat format);

描述

如果该格式使用 ETC 和 ETC2,则返回 true。否则返回 false。