ドキュメント

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