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

GraphicsFormatUtility.GetSwizzleA

Declaration

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

Declaration

public static Rendering.FormatSwizzle GetSwizzleA(TextureFormat format);

Description

Returns a FormatSwizzle enum that is mapped to the alpha channel for a given format.