Documentation

Unity Engine

Download Unity

Unity Engine

HasAlphaChannel

Returns true if the format has an alpha component. Returns false otherwise.
Read time 1 minuteLast updated a month ago

Definition

HasAlphaChannel(GraphicsFormat)

Returns true if the format has an alpha component. Returns false otherwise.
public static bool HasAlphaChannel(GraphicsFormat format)

Parameters

Returns

Type

Description

bool

HasAlphaChannel(TextureFormat)

Returns true if the format has an alpha component. Returns false otherwise.
public static bool HasAlphaChannel(TextureFormat format)

Parameters

Returns

Type

Description

bool