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

GraphicsFormatUtility.IsAlphaTestFormat

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

描述

如果该格式仅具有只有 1 或 2 个位的 Alpha 分量,则返回 true。否则返回 false。