Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

GraphicsFormatUtility.GetComponentCount

Declaration

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

Declaration

public static uint GetComponentCount(TextureFormat format);

Parameters

format GraphicsFormat to use when retrieving the number of bits.

Description

Returns the number of components this format has.