This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

GraphicsFormatUtility.GetBlockSize

Declaration

public static uint GetBlockSize(Experimental.Rendering.GraphicsFormat format);

Declaration

public static uint GetBlockSize(TextureFormat format);

Description

Returns the memory size in bytes of a texel block.