Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSwizzleR

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

Definition

GetSwizzleR(GraphicsFormat)

Returns FormatSwizzle enum of which channel is mapped to the R channel for a given format.
public static FormatSwizzle GetSwizzleR(GraphicsFormat format)

Parameters

Returns

Type

Description

FormatSwizzle

GetSwizzleR(TextureFormat)

Returns FormatSwizzle enum of which channel is mapped to the R channel for a given format.
public static FormatSwizzle GetSwizzleR(TextureFormat format)

Parameters

Returns

Type

Description

FormatSwizzle