文档

Unity Engine

Unity Engine

GetSwizzleA

Returns a FormatSwizzle enum that is mapped to the alpha channel for a given format.
阅读时间1 分钟最后更新于 1 个月前

Definition

GetSwizzleA(GraphicsFormat)

Returns a FormatSwizzle enum that is mapped to the alpha channel for a given format.
public static FormatSwizzle GetSwizzleA(GraphicsFormat format)

Parameters

Returns

Type

Description

FormatSwizzle

GetSwizzleA(TextureFormat)

Returns a FormatSwizzle enum that is mapped to the alpha channel for a given format.
public static FormatSwizzle GetSwizzleA(TextureFormat format)

Parameters

Returns

Type

Description

FormatSwizzle