文档

Unity Engine

Unity Engine

GetSwizzleR

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

Definition

GetSwizzleR(GraphicsFormat)

Returns FormatSwizzle enum of which channel is mapped to the R channel for a given format.
public static FormatSwizzle GetSwizzleR(GraphicsFormat format)

Parameters

Returns

Type

Description

FormatSwizzle

GetSwizzleR(TextureFormat)

Returns FormatSwizzle enum of which channel is mapped to the R channel for a given format.
public static FormatSwizzle GetSwizzleR(TextureFormat format)

Parameters

Returns

Type

Description

FormatSwizzle