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

GraphicsFormatUtility.GetColorComponentCount

Declaration

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

Declaration

public static uint GetColorComponentCount(TextureFormat format);

Description

Returns the number of color components of the format.