Documentation

Unity Engine

Unity Engine

HasAlphaChannel

Returns true if the format has an alpha component. Returns false otherwise.
Read time 1 minuteLast updated 2 months 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