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

GraphicsFormatUtility.GetBlockSize

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

描述

Returns the memory size in bytes of a texel block.