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

GraphicsFormatUtility.ConvertToAlphaFormat

切换到手册

描述

Input a GraphicsFormat to return an equivalent GraphicsFormat that includes an alpha component.


public static TextureFormat ConvertToAlphaFormat (TextureFormat format);

描述

Input a TextureFormat to return an equivalent TextureFormat that includes an alpha component.