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

GraphicsFormatUtility.GetColorComponentCount

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

描述

返回该格式的颜色分量数。