This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

GraphicsFormatUtility.IsSRGBFormat

Declaration

public static bool IsSRGBFormat(Experimental.Rendering.GraphicsFormat format);

Description

Returns true if the format performs sRGB to linear on read and linear to sRGB on write. Returns false otherwise.