ドキュメント

Unity Engine

Unity Engine

GetSwizzleG

Returns a FormatSwizzle enum that is mapped to the green channel for a given format.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

GetSwizzleG(GraphicsFormat)

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

Parameters

Returns

Type

Description

FormatSwizzle

GetSwizzleG(TextureFormat)

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

Parameters

Returns

Type

Description

FormatSwizzle