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

GraphicsFormatUtility.GetBlockWidth

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

描述

返回纹素块的宽度(以纹素为单位)。