sRGBToLinearTable

Static lookup table used for [FColor](API\Runtime\Core\Math\FColor) -> [FLinearColor](API\Runtime\Core\Math\FLinearColor) conversion.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Color.h

Include

#include "Math/Color.h"

Syntax

static float sRGBToLinearTable;

Remarks

Static lookup table used for FColor -> FLinearColor conversion. sRGB

Table for fast FColor -> FLinearColor conversion.

Color > 0.04045 ? pow( Color * (1.0 / 1.055) + 0.0521327, 2.4 ) : Color * (1.0 / 12.92);

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss