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

GraphicsFormatUtility.GetSwizzleB

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

描述

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