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

GraphicsFormatUtility.IsSRGBFormat

切换到手册
public static bool IsSRGBFormat (Experimental.Rendering.GraphicsFormat format);

描述

如果该格式在读取时执行 sRGB 到线性转换并在写入时执行线性到 sRGB 转换,则返回 true。否则返回 false。