Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#
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.