Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HasAlphaChannel

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