Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FLinearColor
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Math/Color.h |
Include | #include "Math/Color.h" |
FColor QuantizeRound&40;&41; const
Remarks
Quantizes the linear color with rounding and returns the result as a FColor. This bypasses the SRGB conversion. QuantizeRound can be dequantized back to linear with FColor::ReinterpretAsLinear (just /255.f) this matches the GPU UNORM<->float conversion spec and should be preferred