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

GraphicsFormatUtility.GetAlphaComponentCount

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

描述

返回该格式的 Alpha 分量数。