Version: 2023.2
Experimental: this API is experimental and might be changed or removed in the future.

GraphicsFormatUtility.GetSwizzleG

切换到手册
public static Rendering.FormatSwizzle GetSwizzleG (TextureFormat format);

描述

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