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

GraphicsFormatUtility.HasAlphaChannel

Declaration

public static bool HasAlphaChannel(Experimental.Rendering.GraphicsFormat format);

Declaration

public static bool HasAlphaChannel(TextureFormat format);

Description

Returns true if the format has an alpha component. Returns false otherwise.