文档

Unity Engine

Unity Engine

HasAlphaChannel

Returns true if the format has an alpha component. Returns false otherwise.
阅读时间1 分钟最后更新于 1 个月前

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