Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSwizzleG

Returns a FormatSwizzle enum that is mapped to the green channel for a given format.
Read time 1 minuteLast updated 6 days ago

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