文档

Unity Engine

Unity Engine

IsAlphaOnlyFormat

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

Definition

IsAlphaOnlyFormat(GraphicsFormat)

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

Parameters

Returns

Type

Description

bool

IsAlphaOnlyFormat(TextureFormat)

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

Parameters

Returns

Type

Description

bool