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

GraphicsFormatUtility.GetSwizzleA

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

描述

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