Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSwizzleA

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

Definition

GetSwizzleA(GraphicsFormat)

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

Parameters

Returns

Type

Description

FormatSwizzle

GetSwizzleA(TextureFormat)

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

Parameters

Returns

Type

Description

FormatSwizzle