기술 자료

Unity Engine

Unity Engine

GetSwizzleG

Returns a FormatSwizzle enum that is mapped to the green channel for a given format.
읽는 시간 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