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

GraphicsFormatUtility.GetBlockWidth

Declaration

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

Declaration

public static uint GetBlockWidth(TextureFormat format);

Description

Returns the width in texels of a texel block.