Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

GraphicsFormatUtility.GetSwizzleR

Declaration

public static Rendering.FormatSwizzle GetSwizzleR(Experimental.Rendering.GraphicsFormat format);

Declaration

public static Rendering.FormatSwizzle GetSwizzleR(TextureFormat format);

Description

Returns FormatSwizzle enum of which channel is mapped to the R channel for a given format.