Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#
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.