This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

GraphicsFormatUtility.GetSwizzleG

Declaration

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

Declaration

public static Rendering.FormatSwizzle GetSwizzleG(TextureFormat format);

Description

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