文档

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