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

GraphicsFormatUtility.IsBCFormat

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

描述

如果该格式为 DXTC、RGTC 或 BPTC 格式,则返回 true。否则返回 false。